@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateClassificationJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateClassificationJobRequest() |
Modifier and Type | Method and Description |
---|---|
CreateClassificationJobRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateClassificationJobRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateClassificationJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAllowListIds()
An array of unique identifiers, one for each allow list for the job to use when it analyzes data.
|
String |
getClientToken()
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
List<String> |
getCustomDataIdentifierIds()
An array of unique identifiers, one for each custom data identifier for the job to use when it analyzes data.
|
String |
getDescription()
A custom description of the job.
|
Boolean |
getInitialRun()
For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job is
created (true).
|
String |
getJobType()
The schedule for running the job.
|
List<String> |
getManagedDataIdentifierIds()
An array of unique identifiers, one for each managed data identifier for the job to include (use) or exclude (not
use) when it analyzes data.
|
String |
getManagedDataIdentifierSelector()
The selection type to apply when determining which managed data identifiers the job uses to analyze data.
|
String |
getName()
A custom name for the job.
|
S3JobDefinition |
getS3JobDefinition()
The S3 buckets that contain the objects to analyze, and the scope of that analysis.
|
Integer |
getSamplingPercentage()
The sampling depth, as a percentage, for the job to apply when processing objects.
|
JobScheduleFrequency |
getScheduleFrequency()
The recurrence pattern for running the job.
|
Map<String,String> |
getTags()
A map of key-value pairs that specifies the tags to associate with the job.
|
int |
hashCode() |
Boolean |
isInitialRun()
For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job is
created (true).
|
void |
setAllowListIds(Collection<String> allowListIds)
An array of unique identifiers, one for each allow list for the job to use when it analyzes data.
|
void |
setClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
void |
setCustomDataIdentifierIds(Collection<String> customDataIdentifierIds)
An array of unique identifiers, one for each custom data identifier for the job to use when it analyzes data.
|
void |
setDescription(String description)
A custom description of the job.
|
void |
setInitialRun(Boolean initialRun)
For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job is
created (true).
|
void |
setJobType(String jobType)
The schedule for running the job.
|
void |
setManagedDataIdentifierIds(Collection<String> managedDataIdentifierIds)
An array of unique identifiers, one for each managed data identifier for the job to include (use) or exclude (not
use) when it analyzes data.
|
void |
setManagedDataIdentifierSelector(String managedDataIdentifierSelector)
The selection type to apply when determining which managed data identifiers the job uses to analyze data.
|
void |
setName(String name)
A custom name for the job.
|
void |
setS3JobDefinition(S3JobDefinition s3JobDefinition)
The S3 buckets that contain the objects to analyze, and the scope of that analysis.
|
void |
setSamplingPercentage(Integer samplingPercentage)
The sampling depth, as a percentage, for the job to apply when processing objects.
|
void |
setScheduleFrequency(JobScheduleFrequency scheduleFrequency)
The recurrence pattern for running the job.
|
void |
setTags(Map<String,String> tags)
A map of key-value pairs that specifies the tags to associate with the job.
|
String |
toString()
Returns a string representation of this object.
|
CreateClassificationJobRequest |
withAllowListIds(Collection<String> allowListIds)
An array of unique identifiers, one for each allow list for the job to use when it analyzes data.
|
CreateClassificationJobRequest |
withAllowListIds(String... allowListIds)
An array of unique identifiers, one for each allow list for the job to use when it analyzes data.
|
CreateClassificationJobRequest |
withClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
CreateClassificationJobRequest |
withCustomDataIdentifierIds(Collection<String> customDataIdentifierIds)
An array of unique identifiers, one for each custom data identifier for the job to use when it analyzes data.
|
CreateClassificationJobRequest |
withCustomDataIdentifierIds(String... customDataIdentifierIds)
An array of unique identifiers, one for each custom data identifier for the job to use when it analyzes data.
|
CreateClassificationJobRequest |
withDescription(String description)
A custom description of the job.
|
CreateClassificationJobRequest |
withInitialRun(Boolean initialRun)
For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job is
created (true).
|
CreateClassificationJobRequest |
withJobType(JobType jobType)
The schedule for running the job.
|
CreateClassificationJobRequest |
withJobType(String jobType)
The schedule for running the job.
|
CreateClassificationJobRequest |
withManagedDataIdentifierIds(Collection<String> managedDataIdentifierIds)
An array of unique identifiers, one for each managed data identifier for the job to include (use) or exclude (not
use) when it analyzes data.
|
CreateClassificationJobRequest |
withManagedDataIdentifierIds(String... managedDataIdentifierIds)
An array of unique identifiers, one for each managed data identifier for the job to include (use) or exclude (not
use) when it analyzes data.
|
CreateClassificationJobRequest |
withManagedDataIdentifierSelector(ManagedDataIdentifierSelector managedDataIdentifierSelector)
The selection type to apply when determining which managed data identifiers the job uses to analyze data.
|
CreateClassificationJobRequest |
withManagedDataIdentifierSelector(String managedDataIdentifierSelector)
The selection type to apply when determining which managed data identifiers the job uses to analyze data.
|
CreateClassificationJobRequest |
withName(String name)
A custom name for the job.
|
CreateClassificationJobRequest |
withS3JobDefinition(S3JobDefinition s3JobDefinition)
The S3 buckets that contain the objects to analyze, and the scope of that analysis.
|
CreateClassificationJobRequest |
withSamplingPercentage(Integer samplingPercentage)
The sampling depth, as a percentage, for the job to apply when processing objects.
|
CreateClassificationJobRequest |
withScheduleFrequency(JobScheduleFrequency scheduleFrequency)
The recurrence pattern for running the job.
|
CreateClassificationJobRequest |
withTags(Map<String,String> tags)
A map of key-value pairs that specifies the tags to associate with the job.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getAllowListIds()
An array of unique identifiers, one for each allow list for the job to use when it analyzes data.
public void setAllowListIds(Collection<String> allowListIds)
An array of unique identifiers, one for each allow list for the job to use when it analyzes data.
allowListIds
- An array of unique identifiers, one for each allow list for the job to use when it analyzes data.public CreateClassificationJobRequest withAllowListIds(String... allowListIds)
An array of unique identifiers, one for each allow list for the job to use when it analyzes data.
NOTE: This method appends the values to the existing list (if any). Use
setAllowListIds(java.util.Collection)
or withAllowListIds(java.util.Collection)
if you want to
override the existing values.
allowListIds
- An array of unique identifiers, one for each allow list for the job to use when it analyzes data.public CreateClassificationJobRequest withAllowListIds(Collection<String> allowListIds)
An array of unique identifiers, one for each allow list for the job to use when it analyzes data.
allowListIds
- An array of unique identifiers, one for each allow list for the job to use when it analyzes data.public void setClientToken(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.public String getClientToken()
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
public CreateClassificationJobRequest withClientToken(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.public List<String> getCustomDataIdentifierIds()
An array of unique identifiers, one for each custom data identifier for the job to use when it analyzes data. To use only managed data identifiers, don't specify a value for this property and specify a value other than NONE for the managedDataIdentifierSelector property.
public void setCustomDataIdentifierIds(Collection<String> customDataIdentifierIds)
An array of unique identifiers, one for each custom data identifier for the job to use when it analyzes data. To use only managed data identifiers, don't specify a value for this property and specify a value other than NONE for the managedDataIdentifierSelector property.
customDataIdentifierIds
- An array of unique identifiers, one for each custom data identifier for the job to use when it analyzes
data. To use only managed data identifiers, don't specify a value for this property and specify a value
other than NONE for the managedDataIdentifierSelector property.public CreateClassificationJobRequest withCustomDataIdentifierIds(String... customDataIdentifierIds)
An array of unique identifiers, one for each custom data identifier for the job to use when it analyzes data. To use only managed data identifiers, don't specify a value for this property and specify a value other than NONE for the managedDataIdentifierSelector property.
NOTE: This method appends the values to the existing list (if any). Use
setCustomDataIdentifierIds(java.util.Collection)
or
withCustomDataIdentifierIds(java.util.Collection)
if you want to override the existing values.
customDataIdentifierIds
- An array of unique identifiers, one for each custom data identifier for the job to use when it analyzes
data. To use only managed data identifiers, don't specify a value for this property and specify a value
other than NONE for the managedDataIdentifierSelector property.public CreateClassificationJobRequest withCustomDataIdentifierIds(Collection<String> customDataIdentifierIds)
An array of unique identifiers, one for each custom data identifier for the job to use when it analyzes data. To use only managed data identifiers, don't specify a value for this property and specify a value other than NONE for the managedDataIdentifierSelector property.
customDataIdentifierIds
- An array of unique identifiers, one for each custom data identifier for the job to use when it analyzes
data. To use only managed data identifiers, don't specify a value for this property and specify a value
other than NONE for the managedDataIdentifierSelector property.public void setDescription(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.public String getDescription()
A custom description of the job. The description can contain as many as 200 characters.
public CreateClassificationJobRequest withDescription(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.public void setInitialRun(Boolean initialRun)
For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job is created (true). To analyze only those objects that are created or changed after you create the job and before the job's first scheduled run, set this value to false.
If you configure the job to run only once, don't specify a value for this property.
initialRun
- For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job
is created (true). To analyze only those objects that are created or changed after you create the job and
before the job's first scheduled run, set this value to false.
If you configure the job to run only once, don't specify a value for this property.
public Boolean getInitialRun()
For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job is created (true). To analyze only those objects that are created or changed after you create the job and before the job's first scheduled run, set this value to false.
If you configure the job to run only once, don't specify a value for this property.
If you configure the job to run only once, don't specify a value for this property.
public CreateClassificationJobRequest withInitialRun(Boolean initialRun)
For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job is created (true). To analyze only those objects that are created or changed after you create the job and before the job's first scheduled run, set this value to false.
If you configure the job to run only once, don't specify a value for this property.
initialRun
- For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job
is created (true). To analyze only those objects that are created or changed after you create the job and
before the job's first scheduled run, set this value to false.
If you configure the job to run only once, don't specify a value for this property.
public Boolean isInitialRun()
For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job is created (true). To analyze only those objects that are created or changed after you create the job and before the job's first scheduled run, set this value to false.
If you configure the job to run only once, don't specify a value for this property.
If you configure the job to run only once, don't specify a value for this property.
public void setJobType(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 specify 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 specify the recurrence pattern for the job.
JobType
public String getJobType()
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 specify the recurrence pattern for the job.
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 specify the recurrence pattern for the job.
JobType
public CreateClassificationJobRequest withJobType(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 specify 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 specify the recurrence pattern for the job.
JobType
public CreateClassificationJobRequest withJobType(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 specify 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 specify the recurrence pattern for the job.
JobType
public List<String> getManagedDataIdentifierIds()
An array of unique identifiers, one for each managed data identifier for the job to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type that you specify for the job (managedDataIdentifierSelector).
To retrieve a list of valid values for this property, use the ListManagedDataIdentifiers operation.
To retrieve a list of valid values for this property, use the ListManagedDataIdentifiers operation.
public void setManagedDataIdentifierIds(Collection<String> managedDataIdentifierIds)
An array of unique identifiers, one for each managed data identifier for the job to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type that you specify for the job (managedDataIdentifierSelector).
To retrieve a list of valid values for this property, use the ListManagedDataIdentifiers operation.
managedDataIdentifierIds
- An array of unique identifiers, one for each managed data identifier for the job to include (use) or
exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier
selection type that you specify for the job (managedDataIdentifierSelector).
To retrieve a list of valid values for this property, use the ListManagedDataIdentifiers operation.
public CreateClassificationJobRequest withManagedDataIdentifierIds(String... managedDataIdentifierIds)
An array of unique identifiers, one for each managed data identifier for the job to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type that you specify for the job (managedDataIdentifierSelector).
To retrieve a list of valid values for this property, use the ListManagedDataIdentifiers operation.
NOTE: This method appends the values to the existing list (if any). Use
setManagedDataIdentifierIds(java.util.Collection)
or
withManagedDataIdentifierIds(java.util.Collection)
if you want to override the existing values.
managedDataIdentifierIds
- An array of unique identifiers, one for each managed data identifier for the job to include (use) or
exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier
selection type that you specify for the job (managedDataIdentifierSelector).
To retrieve a list of valid values for this property, use the ListManagedDataIdentifiers operation.
public CreateClassificationJobRequest withManagedDataIdentifierIds(Collection<String> managedDataIdentifierIds)
An array of unique identifiers, one for each managed data identifier for the job to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type that you specify for the job (managedDataIdentifierSelector).
To retrieve a list of valid values for this property, use the ListManagedDataIdentifiers operation.
managedDataIdentifierIds
- An array of unique identifiers, one for each managed data identifier for the job to include (use) or
exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier
selection type that you specify for the job (managedDataIdentifierSelector).
To retrieve a list of valid values for this property, use the ListManagedDataIdentifiers operation.
public void setManagedDataIdentifierSelector(String managedDataIdentifierSelector)
The selection type to apply when determining which managed data identifiers the job uses to analyze data. Valid values are:
ALL - Use all managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
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. If you specify this value, specify at least one value for the customDataIdentifierIds property and don't specify any values for the managedDataIdentifierIds property.
RECOMMENDED (default) - Use the recommended set of managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
If you don't specify a value for this property, the job uses the recommended set of managed data identifiers.
If the job is a recurring job and you specify ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If you don't specify a value for this property or you specify RECOMMENDED for a recurring job, each job run automatically 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.
managedDataIdentifierSelector
- The selection type to apply when determining which managed data identifiers the job uses to analyze data.
Valid values are:
ALL - Use all managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
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. If you specify this value, specify at least one value for the customDataIdentifierIds property and don't specify any values for the managedDataIdentifierIds property.
RECOMMENDED (default) - Use the recommended set of managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
If you don't specify a value for this property, the job uses the recommended set of managed data identifiers.
If the job is a recurring job and you specify ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If you don't specify a value for this property or you specify RECOMMENDED for a recurring job, each job run automatically 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.
ManagedDataIdentifierSelector
public String getManagedDataIdentifierSelector()
The selection type to apply when determining which managed data identifiers the job uses to analyze data. Valid values are:
ALL - Use all managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
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. If you specify this value, specify at least one value for the customDataIdentifierIds property and don't specify any values for the managedDataIdentifierIds property.
RECOMMENDED (default) - Use the recommended set of managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
If you don't specify a value for this property, the job uses the recommended set of managed data identifiers.
If the job is a recurring job and you specify ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If you don't specify a value for this property or you specify RECOMMENDED for a recurring job, each job run automatically 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.
ALL - Use all managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
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. If you specify this value, specify at least one value for the customDataIdentifierIds property and don't specify any values for the managedDataIdentifierIds property.
RECOMMENDED (default) - Use the recommended set of managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
If you don't specify a value for this property, the job uses the recommended set of managed data identifiers.
If the job is a recurring job and you specify ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If you don't specify a value for this property or you specify RECOMMENDED for a recurring job, each job run automatically 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.
ManagedDataIdentifierSelector
public CreateClassificationJobRequest withManagedDataIdentifierSelector(String managedDataIdentifierSelector)
The selection type to apply when determining which managed data identifiers the job uses to analyze data. Valid values are:
ALL - Use all managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
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. If you specify this value, specify at least one value for the customDataIdentifierIds property and don't specify any values for the managedDataIdentifierIds property.
RECOMMENDED (default) - Use the recommended set of managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
If you don't specify a value for this property, the job uses the recommended set of managed data identifiers.
If the job is a recurring job and you specify ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If you don't specify a value for this property or you specify RECOMMENDED for a recurring job, each job run automatically 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.
managedDataIdentifierSelector
- The selection type to apply when determining which managed data identifiers the job uses to analyze data.
Valid values are:
ALL - Use all managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
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. If you specify this value, specify at least one value for the customDataIdentifierIds property and don't specify any values for the managedDataIdentifierIds property.
RECOMMENDED (default) - Use the recommended set of managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
If you don't specify a value for this property, the job uses the recommended set of managed data identifiers.
If the job is a recurring job and you specify ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If you don't specify a value for this property or you specify RECOMMENDED for a recurring job, each job run automatically 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.
ManagedDataIdentifierSelector
public CreateClassificationJobRequest withManagedDataIdentifierSelector(ManagedDataIdentifierSelector managedDataIdentifierSelector)
The selection type to apply when determining which managed data identifiers the job uses to analyze data. Valid values are:
ALL - Use all managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
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. If you specify this value, specify at least one value for the customDataIdentifierIds property and don't specify any values for the managedDataIdentifierIds property.
RECOMMENDED (default) - Use the recommended set of managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
If you don't specify a value for this property, the job uses the recommended set of managed data identifiers.
If the job is a recurring job and you specify ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If you don't specify a value for this property or you specify RECOMMENDED for a recurring job, each job run automatically 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.
managedDataIdentifierSelector
- The selection type to apply when determining which managed data identifiers the job uses to analyze data.
Valid values are:
ALL - Use all managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
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. If you specify this value, specify at least one value for the customDataIdentifierIds property and don't specify any values for the managedDataIdentifierIds property.
RECOMMENDED (default) - Use the recommended set of managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
If you don't specify a value for this property, the job uses the recommended set of managed data identifiers.
If the job is a recurring job and you specify ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If you don't specify a value for this property or you specify RECOMMENDED for a recurring job, each job run automatically 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.
ManagedDataIdentifierSelector
public void setName(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.public String getName()
A custom name for the job. The name can contain as many as 500 characters.
public CreateClassificationJobRequest withName(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.public void setS3JobDefinition(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.public S3JobDefinition getS3JobDefinition()
The S3 buckets that contain the objects to analyze, and the scope of that analysis.
public CreateClassificationJobRequest withS3JobDefinition(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.public void setSamplingPercentage(Integer samplingPercentage)
The sampling depth, as a percentage, for the job 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, for the job 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.public Integer getSamplingPercentage()
The sampling depth, as a percentage, for the job 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.
public CreateClassificationJobRequest withSamplingPercentage(Integer samplingPercentage)
The sampling depth, as a percentage, for the job 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, for the job 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.public void setScheduleFrequency(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.public JobScheduleFrequency getScheduleFrequency()
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.
public CreateClassificationJobRequest withScheduleFrequency(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.public Map<String,String> getTags()
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.
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.
public void setTags(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.
public CreateClassificationJobRequest withTags(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.
public CreateClassificationJobRequest addTagsEntry(String key, String value)
public CreateClassificationJobRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateClassificationJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()