@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) |
String |
getClientToken()
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
List<String> |
getCustomDataIdentifierIds()
The custom data identifiers to use for data analysis and classification.
|
String |
getDescription()
A custom description of the job.
|
Boolean |
getInitialRun()
Specifies whether to analyze all existing, eligible objects immediately after the job is created.
|
String |
getJobType()
The schedule for running the job.
|
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, 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()
Specifies whether to analyze all existing, eligible objects immediately after the job is created.
|
void |
setClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
void |
setCustomDataIdentifierIds(Collection<String> customDataIdentifierIds)
The custom data identifiers to use for data analysis and classification.
|
void |
setDescription(String description)
A custom description of the job.
|
void |
setInitialRun(Boolean initialRun)
Specifies whether to analyze all existing, eligible objects immediately after the job is created.
|
void |
setJobType(String jobType)
The schedule for running the job.
|
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, 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 |
withClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
CreateClassificationJobRequest |
withCustomDataIdentifierIds(Collection<String> customDataIdentifierIds)
The custom data identifiers to use for data analysis and classification.
|
CreateClassificationJobRequest |
withCustomDataIdentifierIds(String... customDataIdentifierIds)
The custom data identifiers to use for data analysis and classification.
|
CreateClassificationJobRequest |
withDescription(String description)
A custom description of the job.
|
CreateClassificationJobRequest |
withInitialRun(Boolean initialRun)
Specifies whether to analyze all existing, eligible objects immediately after the job is created.
|
CreateClassificationJobRequest |
withJobType(JobType jobType)
The schedule for running the job.
|
CreateClassificationJobRequest |
withJobType(String jobType)
The schedule for running the job.
|
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, 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 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()
The custom data identifiers to use for data analysis and classification.
public void setCustomDataIdentifierIds(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.public CreateClassificationJobRequest withCustomDataIdentifierIds(String... customDataIdentifierIds)
The custom data identifiers to use for data analysis and classification.
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
- The custom data identifiers to use for data analysis and classification.public CreateClassificationJobRequest withCustomDataIdentifierIds(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.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)
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.public Boolean getInitialRun()
Specifies whether to analyze all existing, eligible objects immediately after the job is created.
public CreateClassificationJobRequest withInitialRun(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.public Boolean isInitialRun()
Specifies whether to analyze all existing, eligible objects immediately after the job is created.
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 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
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 define 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 define 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 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
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 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
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, 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.public Integer getSamplingPercentage()
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.
public CreateClassificationJobRequest withSamplingPercentage(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.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()