public static interface CreateClassificationJobRequest.Builder extends Macie2Request.Builder, SdkPojo, CopyableBuilder<CreateClassificationJobRequest.Builder,CreateClassificationJobRequest>
Modifier and Type | Method and Description |
---|---|
CreateClassificationJobRequest.Builder |
clientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
CreateClassificationJobRequest.Builder |
customDataIdentifierIds(Collection<String> customDataIdentifierIds)
The custom data identifiers to use for data analysis and classification.
|
CreateClassificationJobRequest.Builder |
customDataIdentifierIds(String... customDataIdentifierIds)
The custom data identifiers to use for data analysis and classification.
|
CreateClassificationJobRequest.Builder |
description(String description)
A custom description of the job.
|
CreateClassificationJobRequest.Builder |
initialRun(Boolean initialRun)
Specifies whether to analyze all existing, eligible objects immediately after the job is created.
|
CreateClassificationJobRequest.Builder |
jobType(JobType jobType)
The schedule for running the job.
|
CreateClassificationJobRequest.Builder |
jobType(String jobType)
The schedule for running the job.
|
CreateClassificationJobRequest.Builder |
name(String name)
A custom name for the job.
|
CreateClassificationJobRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateClassificationJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default CreateClassificationJobRequest.Builder |
s3JobDefinition(Consumer<S3JobDefinition.Builder> s3JobDefinition)
The S3 buckets that contain the objects to analyze, and the scope of that analysis.
|
CreateClassificationJobRequest.Builder |
s3JobDefinition(S3JobDefinition s3JobDefinition)
The S3 buckets that contain the objects to analyze, and the scope of that analysis.
|
CreateClassificationJobRequest.Builder |
samplingPercentage(Integer samplingPercentage)
The sampling depth, as a percentage, to apply when processing objects.
|
default CreateClassificationJobRequest.Builder |
scheduleFrequency(Consumer<JobScheduleFrequency.Builder> scheduleFrequency)
The recurrence pattern for running the job.
|
CreateClassificationJobRequest.Builder |
scheduleFrequency(JobScheduleFrequency scheduleFrequency)
The recurrence pattern for running the job.
|
CreateClassificationJobRequest.Builder |
tags(Map<String,String> tags)
A map of key-value pairs that specifies the tags to associate with the job.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateClassificationJobRequest.Builder clientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive token that you provide to ensure the idempotency of the request.CreateClassificationJobRequest.Builder customDataIdentifierIds(Collection<String> customDataIdentifierIds)
The custom data identifiers to use for data analysis and classification.
customDataIdentifierIds
- The custom data identifiers to use for data analysis and classification.CreateClassificationJobRequest.Builder customDataIdentifierIds(String... customDataIdentifierIds)
The custom data identifiers to use for data analysis and classification.
customDataIdentifierIds
- The custom data identifiers to use for data analysis and classification.CreateClassificationJobRequest.Builder description(String description)
A custom description of the job. The description can contain as many as 200 characters.
description
- A custom description of the job. The description can contain as many as 200 characters.CreateClassificationJobRequest.Builder initialRun(Boolean initialRun)
Specifies whether to analyze all existing, eligible objects immediately after the job is created.
initialRun
- Specifies whether to analyze all existing, eligible objects immediately after the job is created.CreateClassificationJobRequest.Builder jobType(String jobType)
The schedule for running the job. Valid values are:
ONE_TIME - Run the job only once. If you specify this value, don't specify a value for the scheduleFrequency property.
SCHEDULED - Run the job on a daily, weekly, or monthly basis. If you specify this value, use the scheduleFrequency property to define the recurrence pattern for the job.
jobType
- The schedule for running the job. Valid values are:
ONE_TIME - Run the job only once. If you specify this value, don't specify a value for the scheduleFrequency property.
SCHEDULED - Run the job on a daily, weekly, or monthly basis. If you specify this value, use the scheduleFrequency property to define the recurrence pattern for the job.
JobType
,
JobType
CreateClassificationJobRequest.Builder jobType(JobType jobType)
The schedule for running the job. Valid values are:
ONE_TIME - Run the job only once. If you specify this value, don't specify a value for the scheduleFrequency property.
SCHEDULED - Run the job on a daily, weekly, or monthly basis. If you specify this value, use the scheduleFrequency property to define the recurrence pattern for the job.
jobType
- The schedule for running the job. Valid values are:
ONE_TIME - Run the job only once. If you specify this value, don't specify a value for the scheduleFrequency property.
SCHEDULED - Run the job on a daily, weekly, or monthly basis. If you specify this value, use the scheduleFrequency property to define the recurrence pattern for the job.
JobType
,
JobType
CreateClassificationJobRequest.Builder name(String name)
A custom name for the job. The name can contain as many as 500 characters.
name
- A custom name for the job. The name can contain as many as 500 characters.CreateClassificationJobRequest.Builder s3JobDefinition(S3JobDefinition s3JobDefinition)
The S3 buckets that contain the objects to analyze, and the scope of that analysis.
s3JobDefinition
- The S3 buckets that contain the objects to analyze, and the scope of that analysis.default CreateClassificationJobRequest.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 that creates an instance of theS3JobDefinition.Builder
avoiding the need to
create one manually via S3JobDefinition.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to s3JobDefinition(S3JobDefinition)
.s3JobDefinition
- a consumer that will call methods on S3JobDefinition.Builder
s3JobDefinition(S3JobDefinition)
CreateClassificationJobRequest.Builder samplingPercentage(Integer samplingPercentage)
The sampling depth, as a percentage, to apply when processing objects. This value determines the percentage of eligible objects that the job analyzes. If this value is less than 100, Amazon Macie selects the objects to analyze at random, up to the specified percentage, and analyzes all the data in those objects.
samplingPercentage
- The sampling depth, as a percentage, to apply when processing objects. This value determines the
percentage of eligible objects that the job analyzes. If this value is less than 100, Amazon Macie
selects the objects to analyze at random, up to the specified percentage, and analyzes all the data in
those objects.CreateClassificationJobRequest.Builder scheduleFrequency(JobScheduleFrequency scheduleFrequency)
The recurrence pattern for running the job. To run the job only once, don't specify a value for this property and set the value for the jobType property to ONE_TIME.
scheduleFrequency
- The recurrence pattern for running the job. To run the job only once, don't specify a value for this
property and set the value for the jobType property to ONE_TIME.default CreateClassificationJobRequest.Builder scheduleFrequency(Consumer<JobScheduleFrequency.Builder> scheduleFrequency)
The recurrence pattern for running the job. To run the job only once, don't specify a value for this property and set the value for the jobType property to ONE_TIME.
This is a convenience that creates an instance of theJobScheduleFrequency.Builder
avoiding the need
to create one manually via JobScheduleFrequency.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to scheduleFrequency(JobScheduleFrequency)
.scheduleFrequency
- a consumer that will call methods on JobScheduleFrequency.Builder
scheduleFrequency(JobScheduleFrequency)
CreateClassificationJobRequest.Builder tags(Map<String,String> tags)
A map of key-value pairs that specifies the tags to associate with the job.
A job can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
tags
- A map of key-value pairs that specifies the tags to associate with the job.
A job can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
CreateClassificationJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateClassificationJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.