Interface DescribeClassificationJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeClassificationJobResponse.Builder,DescribeClassificationJobResponse>,Macie2Response.Builder,SdkBuilder<DescribeClassificationJobResponse.Builder,DescribeClassificationJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeClassificationJobResponse
public static interface DescribeClassificationJobResponse.Builder extends Macie2Response.Builder, SdkPojo, CopyableBuilder<DescribeClassificationJobResponse.Builder,DescribeClassificationJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeClassificationJobResponse.BuilderallowListIds(String... allowListIds)An array of unique identifiers, one for each allow list that the job is configured to use when it analyzes data.DescribeClassificationJobResponse.BuilderallowListIds(Collection<String> allowListIds)An array of unique identifiers, one for each allow list that the job is configured to use when it analyzes data.DescribeClassificationJobResponse.BuilderclientToken(String clientToken)The token that was provided to ensure the idempotency of the request to create the job.DescribeClassificationJobResponse.BuildercreatedAt(Instant createdAt)The date and time, in UTC and extended ISO 8601 format, when the job was created.DescribeClassificationJobResponse.BuildercustomDataIdentifierIds(String... customDataIdentifierIds)An array of unique identifiers, one for each custom data identifier that the job is configured to use when it analyzes data.DescribeClassificationJobResponse.BuildercustomDataIdentifierIds(Collection<String> customDataIdentifierIds)An array of unique identifiers, one for each custom data identifier that the job is configured to use when it analyzes data.DescribeClassificationJobResponse.Builderdescription(String description)The custom description of the job.DescribeClassificationJobResponse.BuilderinitialRun(Boolean initialRun)For a recurring job, specifies whether you configured the job to analyze all existing, eligible objects immediately after the job was created (true).DescribeClassificationJobResponse.BuilderjobArn(String jobArn)The Amazon Resource Name (ARN) of the job.DescribeClassificationJobResponse.BuilderjobId(String jobId)The unique identifier for the job.DescribeClassificationJobResponse.BuilderjobStatus(String jobStatus)The current status of the job.DescribeClassificationJobResponse.BuilderjobStatus(JobStatus jobStatus)The current status of the job.DescribeClassificationJobResponse.BuilderjobType(String jobType)The schedule for running the job.DescribeClassificationJobResponse.BuilderjobType(JobType jobType)The schedule for running the job.default DescribeClassificationJobResponse.BuilderlastRunErrorStatus(Consumer<LastRunErrorStatus.Builder> lastRunErrorStatus)Specifies whether any account- or bucket-level access errors occurred when the job ran.DescribeClassificationJobResponse.BuilderlastRunErrorStatus(LastRunErrorStatus lastRunErrorStatus)Specifies whether any account- or bucket-level access errors occurred when the job ran.DescribeClassificationJobResponse.BuilderlastRunTime(Instant lastRunTime)The date and time, in UTC and extended ISO 8601 format, when the job started.DescribeClassificationJobResponse.BuildermanagedDataIdentifierIds(String... managedDataIdentifierIds)An array of unique identifiers, one for each managed data identifier that the job is explicitly configured to include (use) or exclude (not use) when it analyzes data.DescribeClassificationJobResponse.BuildermanagedDataIdentifierIds(Collection<String> managedDataIdentifierIds)An array of unique identifiers, one for each managed data identifier that the job is explicitly configured to include (use) or exclude (not use) when it analyzes data.DescribeClassificationJobResponse.BuildermanagedDataIdentifierSelector(String managedDataIdentifierSelector)The selection type that determines which managed data identifiers the job uses when it analyzes data.DescribeClassificationJobResponse.BuildermanagedDataIdentifierSelector(ManagedDataIdentifierSelector managedDataIdentifierSelector)The selection type that determines which managed data identifiers the job uses when it analyzes data.DescribeClassificationJobResponse.Buildername(String name)The custom name of the job.default DescribeClassificationJobResponse.Builders3JobDefinition(Consumer<S3JobDefinition.Builder> s3JobDefinition)The S3 buckets that contain the objects to analyze, and the scope of that analysis.DescribeClassificationJobResponse.Builders3JobDefinition(S3JobDefinition s3JobDefinition)The S3 buckets that contain the objects to analyze, and the scope of that analysis.DescribeClassificationJobResponse.BuildersamplingPercentage(Integer samplingPercentage)The sampling depth, as a percentage, that determines the percentage of eligible objects that the job analyzes.default DescribeClassificationJobResponse.BuilderscheduleFrequency(Consumer<JobScheduleFrequency.Builder> scheduleFrequency)The recurrence pattern for running the job.DescribeClassificationJobResponse.BuilderscheduleFrequency(JobScheduleFrequency scheduleFrequency)The recurrence pattern for running the job.default DescribeClassificationJobResponse.Builderstatistics(Consumer<Statistics.Builder> statistics)The number of times that the job has run and processing statistics for the job's current run.DescribeClassificationJobResponse.Builderstatistics(Statistics statistics)The number of times that the job has run and processing statistics for the job's current run.DescribeClassificationJobResponse.Buildertags(Map<String,String> tags)A map of key-value pairs that specifies which tags (keys and values) are associated with the job.default DescribeClassificationJobResponse.BuilderuserPausedDetails(Consumer<UserPausedDetails.Builder> userPausedDetails)If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job or job run will expire and be cancelled if it isn't resumed.DescribeClassificationJobResponse.BuilderuserPausedDetails(UserPausedDetails userPausedDetails)If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job or job run will expire and be cancelled if it isn't resumed.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
allowListIds
DescribeClassificationJobResponse.Builder allowListIds(Collection<String> allowListIds)
An array of unique identifiers, one for each allow list that the job is configured to use when it analyzes data.
- Parameters:
allowListIds- An array of unique identifiers, one for each allow list that the job is configured to use when it analyzes data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowListIds
DescribeClassificationJobResponse.Builder allowListIds(String... allowListIds)
An array of unique identifiers, one for each allow list that the job is configured to use when it analyzes data.
- Parameters:
allowListIds- An array of unique identifiers, one for each allow list that the job is configured to use when it analyzes data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
DescribeClassificationJobResponse.Builder clientToken(String clientToken)
The token that was provided to ensure the idempotency of the request to create the job.
- Parameters:
clientToken- The token that was provided to ensure the idempotency of the request to create the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
DescribeClassificationJobResponse.Builder createdAt(Instant createdAt)
The date and time, in UTC and extended ISO 8601 format, when the job was created.
- Parameters:
createdAt- The date and time, in UTC and extended ISO 8601 format, when the job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDataIdentifierIds
DescribeClassificationJobResponse.Builder customDataIdentifierIds(Collection<String> customDataIdentifierIds)
An array of unique identifiers, one for each custom data identifier that the job is configured to use when it analyzes data. This value is null if the job is configured to use only managed data identifiers to analyze data.
- Parameters:
customDataIdentifierIds- An array of unique identifiers, one for each custom data identifier that the job is configured to use when it analyzes data. This value is null if the job is configured to use only managed data identifiers to analyze data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDataIdentifierIds
DescribeClassificationJobResponse.Builder customDataIdentifierIds(String... customDataIdentifierIds)
An array of unique identifiers, one for each custom data identifier that the job is configured to use when it analyzes data. This value is null if the job is configured to use only managed data identifiers to analyze data.
- Parameters:
customDataIdentifierIds- An array of unique identifiers, one for each custom data identifier that the job is configured to use when it analyzes data. This value is null if the job is configured to use only managed data identifiers to analyze data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
DescribeClassificationJobResponse.Builder description(String description)
The custom description of the job.
- Parameters:
description- The custom description of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialRun
DescribeClassificationJobResponse.Builder initialRun(Boolean initialRun)
For a recurring job, specifies whether you configured the job to analyze all existing, eligible objects immediately after the job was created (true). If you configured the job to analyze only those objects that were created or changed after the job was created and before the job's first scheduled run, this value is false. This value is also false for a one-time job.
- Parameters:
initialRun- For a recurring job, specifies whether you configured the job to analyze all existing, eligible objects immediately after the job was created (true). If you configured the job to analyze only those objects that were created or changed after the job was created and before the job's first scheduled run, this value is false. This value is also false for a one-time job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobArn
DescribeClassificationJobResponse.Builder jobArn(String jobArn)
The Amazon Resource Name (ARN) of the job.
- Parameters:
jobArn- The Amazon Resource Name (ARN) of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobId
DescribeClassificationJobResponse.Builder jobId(String jobId)
The unique identifier for the job.
- Parameters:
jobId- The unique identifier for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobStatus
DescribeClassificationJobResponse.Builder jobStatus(String jobStatus)
The current status of the job. Possible values are:
-
CANCELLED - You cancelled the job or, if it's a one-time job, you paused the job and didn't resume it within 30 days.
-
COMPLETE - For a one-time job, Amazon Macie finished processing the data specified for the job. This value doesn't apply to recurring jobs.
-
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.
-
PAUSED - Macie started running the job but additional processing would exceed the monthly sensitive data discovery quota for your account or one or more member accounts that the job analyzes data for.
-
RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.
-
USER_PAUSED - You paused the job. If you paused the job while it had a status of RUNNING and you don't resume it within 30 days of pausing it, the job or job run will expire and be cancelled, depending on the job's type. To check the expiration date, refer to the UserPausedDetails.jobExpiresAt property.
- Parameters:
jobStatus- The current status of the job. Possible values are:-
CANCELLED - You cancelled the job or, if it's a one-time job, you paused the job and didn't resume it within 30 days.
-
COMPLETE - For a one-time job, Amazon Macie finished processing the data specified for the job. This value doesn't apply to recurring jobs.
-
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.
-
PAUSED - Macie started running the job but additional processing would exceed the monthly sensitive data discovery quota for your account or one or more member accounts that the job analyzes data for.
-
RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.
-
USER_PAUSED - You paused the job. If you paused the job while it had a status of RUNNING and you don't resume it within 30 days of pausing it, the job or job run will expire and be cancelled, depending on the job's type. To check the expiration date, refer to the UserPausedDetails.jobExpiresAt property.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobStatus,JobStatus
-
-
jobStatus
DescribeClassificationJobResponse.Builder jobStatus(JobStatus jobStatus)
The current status of the job. Possible values are:
-
CANCELLED - You cancelled the job or, if it's a one-time job, you paused the job and didn't resume it within 30 days.
-
COMPLETE - For a one-time job, Amazon Macie finished processing the data specified for the job. This value doesn't apply to recurring jobs.
-
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.
-
PAUSED - Macie started running the job but additional processing would exceed the monthly sensitive data discovery quota for your account or one or more member accounts that the job analyzes data for.
-
RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.
-
USER_PAUSED - You paused the job. If you paused the job while it had a status of RUNNING and you don't resume it within 30 days of pausing it, the job or job run will expire and be cancelled, depending on the job's type. To check the expiration date, refer to the UserPausedDetails.jobExpiresAt property.
- Parameters:
jobStatus- The current status of the job. Possible values are:-
CANCELLED - You cancelled the job or, if it's a one-time job, you paused the job and didn't resume it within 30 days.
-
COMPLETE - For a one-time job, Amazon Macie finished processing the data specified for the job. This value doesn't apply to recurring jobs.
-
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.
-
PAUSED - Macie started running the job but additional processing would exceed the monthly sensitive data discovery quota for your account or one or more member accounts that the job analyzes data for.
-
RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.
-
USER_PAUSED - You paused the job. If you paused the job while it had a status of RUNNING and you don't resume it within 30 days of pausing it, the job or job run will expire and be cancelled, depending on the job's type. To check the expiration date, refer to the UserPausedDetails.jobExpiresAt property.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobStatus,JobStatus
-
-
jobType
DescribeClassificationJobResponse.Builder jobType(String jobType)
The schedule for running the job. Possible values are:
-
ONE_TIME - The job runs only once.
-
SCHEDULED - The job runs on a daily, weekly, or monthly basis. The scheduleFrequency property indicates the recurrence pattern for the job.
- Parameters:
jobType- The schedule for running the job. Possible values are:-
ONE_TIME - The job runs only once.
-
SCHEDULED - The job runs on a daily, weekly, or monthly basis. The scheduleFrequency property indicates the recurrence pattern for the job.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobType,JobType
-
-
jobType
DescribeClassificationJobResponse.Builder jobType(JobType jobType)
The schedule for running the job. Possible values are:
-
ONE_TIME - The job runs only once.
-
SCHEDULED - The job runs on a daily, weekly, or monthly basis. The scheduleFrequency property indicates the recurrence pattern for the job.
- Parameters:
jobType- The schedule for running the job. Possible values are:-
ONE_TIME - The job runs only once.
-
SCHEDULED - The job runs on a daily, weekly, or monthly basis. The scheduleFrequency property indicates the recurrence pattern for the job.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobType,JobType
-
-
lastRunErrorStatus
DescribeClassificationJobResponse.Builder lastRunErrorStatus(LastRunErrorStatus lastRunErrorStatus)
Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run.
- Parameters:
lastRunErrorStatus- Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunErrorStatus
default DescribeClassificationJobResponse.Builder lastRunErrorStatus(Consumer<LastRunErrorStatus.Builder> lastRunErrorStatus)
Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run.
This is a convenience method that creates an instance of theLastRunErrorStatus.Builderavoiding the need to create one manually viaLastRunErrorStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolastRunErrorStatus(LastRunErrorStatus).- Parameters:
lastRunErrorStatus- a consumer that will call methods onLastRunErrorStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lastRunErrorStatus(LastRunErrorStatus)
-
lastRunTime
DescribeClassificationJobResponse.Builder lastRunTime(Instant lastRunTime)
The date and time, in UTC and extended ISO 8601 format, when the job started. If the job is a recurring job, this value indicates when the most recent run started or, if the job hasn't run yet, when the job was created.
- Parameters:
lastRunTime- The date and time, in UTC and extended ISO 8601 format, when the job started. If the job is a recurring job, this value indicates when the most recent run started or, if the job hasn't run yet, when the job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedDataIdentifierIds
DescribeClassificationJobResponse.Builder managedDataIdentifierIds(Collection<String> managedDataIdentifierIds)
An array of unique identifiers, one for each managed data identifier that the job is explicitly configured to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type specified for the job (managedDataIdentifierSelector).
This value is null if the job's managed data identifier selection type is ALL, NONE, or RECOMMENDED.
- Parameters:
managedDataIdentifierIds- An array of unique identifiers, one for each managed data identifier that the job is explicitly configured to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type specified for the job (managedDataIdentifierSelector).This value is null if the job's managed data identifier selection type is ALL, NONE, or RECOMMENDED.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedDataIdentifierIds
DescribeClassificationJobResponse.Builder managedDataIdentifierIds(String... managedDataIdentifierIds)
An array of unique identifiers, one for each managed data identifier that the job is explicitly configured to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type specified for the job (managedDataIdentifierSelector).
This value is null if the job's managed data identifier selection type is ALL, NONE, or RECOMMENDED.
- Parameters:
managedDataIdentifierIds- An array of unique identifiers, one for each managed data identifier that the job is explicitly configured to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type specified for the job (managedDataIdentifierSelector).This value is null if the job's managed data identifier selection type is ALL, NONE, or RECOMMENDED.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedDataIdentifierSelector
DescribeClassificationJobResponse.Builder managedDataIdentifierSelector(String managedDataIdentifierSelector)
The selection type that determines which managed data identifiers the job uses when it analyzes data. Possible values are:
-
ALL - Use all managed data identifiers.
-
EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property.
-
INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property.
-
NONE - Don't use any managed data identifiers. Use only custom data identifiers (customDataIdentifierIds).
-
RECOMMENDED (default) - Use the recommended set of managed data identifiers.
If this value is null, the job uses the recommended set of managed data identifiers.
If the job is a recurring job and this value is ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If this value is null or RECOMMENDED for a recurring job, each job run uses all the managed data identifiers that are in the recommended set when the run starts.
To learn about individual managed data identifiers or determine which ones are in the recommended set, see Using managed data identifiers or Recommended managed data identifiers in the Amazon Macie User Guide.
- Parameters:
managedDataIdentifierSelector- The selection type that determines which managed data identifiers the job uses when it analyzes data. Possible values are:-
ALL - Use all managed data identifiers.
-
EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property.
-
INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property.
-
NONE - Don't use any managed data identifiers. Use only custom data identifiers (customDataIdentifierIds).
-
RECOMMENDED (default) - Use the recommended set of managed data identifiers.
If this value is null, the job uses the recommended set of managed data identifiers.
If the job is a recurring job and this value is ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If this value is null or RECOMMENDED for a recurring job, each job run uses all the managed data identifiers that are in the recommended set when the run starts.
To learn about individual managed data identifiers or determine which ones are in the recommended set, see Using managed data identifiers or Recommended managed data identifiers in the Amazon Macie User Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ManagedDataIdentifierSelector,ManagedDataIdentifierSelector
-
-
managedDataIdentifierSelector
DescribeClassificationJobResponse.Builder managedDataIdentifierSelector(ManagedDataIdentifierSelector managedDataIdentifierSelector)
The selection type that determines which managed data identifiers the job uses when it analyzes data. Possible values are:
-
ALL - Use all managed data identifiers.
-
EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property.
-
INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property.
-
NONE - Don't use any managed data identifiers. Use only custom data identifiers (customDataIdentifierIds).
-
RECOMMENDED (default) - Use the recommended set of managed data identifiers.
If this value is null, the job uses the recommended set of managed data identifiers.
If the job is a recurring job and this value is ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If this value is null or RECOMMENDED for a recurring job, each job run uses all the managed data identifiers that are in the recommended set when the run starts.
To learn about individual managed data identifiers or determine which ones are in the recommended set, see Using managed data identifiers or Recommended managed data identifiers in the Amazon Macie User Guide.
- Parameters:
managedDataIdentifierSelector- The selection type that determines which managed data identifiers the job uses when it analyzes data. Possible values are:-
ALL - Use all managed data identifiers.
-
EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property.
-
INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property.
-
NONE - Don't use any managed data identifiers. Use only custom data identifiers (customDataIdentifierIds).
-
RECOMMENDED (default) - Use the recommended set of managed data identifiers.
If this value is null, the job uses the recommended set of managed data identifiers.
If the job is a recurring job and this value is ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If this value is null or RECOMMENDED for a recurring job, each job run uses all the managed data identifiers that are in the recommended set when the run starts.
To learn about individual managed data identifiers or determine which ones are in the recommended set, see Using managed data identifiers or Recommended managed data identifiers in the Amazon Macie User Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ManagedDataIdentifierSelector,ManagedDataIdentifierSelector
-
-
name
DescribeClassificationJobResponse.Builder name(String name)
The custom name of the job.
- Parameters:
name- The custom name of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3JobDefinition
DescribeClassificationJobResponse.Builder s3JobDefinition(S3JobDefinition s3JobDefinition)
The S3 buckets that contain the objects to analyze, and the scope of that analysis.
- Parameters:
s3JobDefinition- The S3 buckets that contain the objects to analyze, and the scope of that analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3JobDefinition
default DescribeClassificationJobResponse.Builder s3JobDefinition(Consumer<S3JobDefinition.Builder> s3JobDefinition)
The S3 buckets that contain the objects to analyze, and the scope of that analysis.
This is a convenience method that creates an instance of theS3JobDefinition.Builderavoiding the need to create one manually viaS3JobDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3JobDefinition(S3JobDefinition).- Parameters:
s3JobDefinition- a consumer that will call methods onS3JobDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3JobDefinition(S3JobDefinition)
-
samplingPercentage
DescribeClassificationJobResponse.Builder samplingPercentage(Integer samplingPercentage)
The sampling depth, as a percentage, that determines the percentage of eligible objects that the job analyzes.
- Parameters:
samplingPercentage- The sampling depth, as a percentage, that determines the percentage of eligible objects that the job analyzes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleFrequency
DescribeClassificationJobResponse.Builder scheduleFrequency(JobScheduleFrequency scheduleFrequency)
The recurrence pattern for running the job. This value is null if the job is configured to run only once.
- Parameters:
scheduleFrequency- The recurrence pattern for running the job. This value is null if the job is configured to run only once.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleFrequency
default DescribeClassificationJobResponse.Builder scheduleFrequency(Consumer<JobScheduleFrequency.Builder> scheduleFrequency)
The recurrence pattern for running the job. This value is null if the job is configured to run only once.
This is a convenience method that creates an instance of theJobScheduleFrequency.Builderavoiding the need to create one manually viaJobScheduleFrequency.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduleFrequency(JobScheduleFrequency).- Parameters:
scheduleFrequency- a consumer that will call methods onJobScheduleFrequency.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
scheduleFrequency(JobScheduleFrequency)
-
statistics
DescribeClassificationJobResponse.Builder statistics(Statistics statistics)
The number of times that the job has run and processing statistics for the job's current run.
- Parameters:
statistics- The number of times that the job has run and processing statistics for the job's current run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
default DescribeClassificationJobResponse.Builder statistics(Consumer<Statistics.Builder> statistics)
The number of times that the job has run and processing statistics for the job's current run.
This is a convenience method that creates an instance of theStatistics.Builderavoiding the need to create one manually viaStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatistics(Statistics).- Parameters:
statistics- a consumer that will call methods onStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
statistics(Statistics)
-
tags
DescribeClassificationJobResponse.Builder tags(Map<String,String> tags)
A map of key-value pairs that specifies which tags (keys and values) are associated with the job.
- Parameters:
tags- A map of key-value pairs that specifies which tags (keys and values) are associated with the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userPausedDetails
DescribeClassificationJobResponse.Builder userPausedDetails(UserPausedDetails userPausedDetails)
If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job or job run will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.
- Parameters:
userPausedDetails- If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job or job run will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userPausedDetails
default DescribeClassificationJobResponse.Builder userPausedDetails(Consumer<UserPausedDetails.Builder> userPausedDetails)
If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job or job run will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.
This is a convenience method that creates an instance of theUserPausedDetails.Builderavoiding the need to create one manually viaUserPausedDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserPausedDetails(UserPausedDetails).- Parameters:
userPausedDetails- a consumer that will call methods onUserPausedDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
userPausedDetails(UserPausedDetails)
-
-