@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartEventsDetectionJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartEventsDetectionJobRequest() |
Modifier and Type | Method and Description |
---|---|
StartEventsDetectionJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
An unique identifier for the request.
|
String |
getDataAccessRoleArn()
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
|
InputDataConfig |
getInputDataConfig()
Specifies the format and location of the input data for the job.
|
String |
getJobName()
The identifier of the events detection job.
|
String |
getLanguageCode()
The language code of the input documents.
|
OutputDataConfig |
getOutputDataConfig()
Specifies where to send the output files.
|
List<Tag> |
getTags()
Tags to associate with the events detection job.
|
List<String> |
getTargetEventTypes()
The types of events to detect in the input documents.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
An unique identifier for the request.
|
void |
setDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
|
void |
setInputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and location of the input data for the job.
|
void |
setJobName(String jobName)
The identifier of the events detection job.
|
void |
setLanguageCode(String languageCode)
The language code of the input documents.
|
void |
setOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files.
|
void |
setTags(Collection<Tag> tags)
Tags to associate with the events detection job.
|
void |
setTargetEventTypes(Collection<String> targetEventTypes)
The types of events to detect in the input documents.
|
String |
toString()
Returns a string representation of this object.
|
StartEventsDetectionJobRequest |
withClientRequestToken(String clientRequestToken)
An unique identifier for the request.
|
StartEventsDetectionJobRequest |
withDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
|
StartEventsDetectionJobRequest |
withInputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and location of the input data for the job.
|
StartEventsDetectionJobRequest |
withJobName(String jobName)
The identifier of the events detection job.
|
StartEventsDetectionJobRequest |
withLanguageCode(LanguageCode languageCode)
The language code of the input documents.
|
StartEventsDetectionJobRequest |
withLanguageCode(String languageCode)
The language code of the input documents.
|
StartEventsDetectionJobRequest |
withOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files.
|
StartEventsDetectionJobRequest |
withTags(Collection<Tag> tags)
Tags to associate with the events detection job.
|
StartEventsDetectionJobRequest |
withTags(Tag... tags)
Tags to associate with the events detection job.
|
StartEventsDetectionJobRequest |
withTargetEventTypes(Collection<String> targetEventTypes)
The types of events to detect in the input documents.
|
StartEventsDetectionJobRequest |
withTargetEventTypes(String... targetEventTypes)
The types of events to detect in the input documents.
|
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 setInputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and location of the input data for the job.
inputDataConfig
- Specifies the format and location of the input data for the job.public InputDataConfig getInputDataConfig()
Specifies the format and location of the input data for the job.
public StartEventsDetectionJobRequest withInputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and location of the input data for the job.
inputDataConfig
- Specifies the format and location of the input data for the job.public void setOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files.
outputDataConfig
- Specifies where to send the output files.public OutputDataConfig getOutputDataConfig()
Specifies where to send the output files.
public StartEventsDetectionJobRequest withOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files.
outputDataConfig
- Specifies where to send the output files.public void setDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
dataAccessRoleArn
- The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input
data.public String getDataAccessRoleArn()
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
public StartEventsDetectionJobRequest withDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
dataAccessRoleArn
- The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input
data.public void setJobName(String jobName)
The identifier of the events detection job.
jobName
- The identifier of the events detection job.public String getJobName()
The identifier of the events detection job.
public StartEventsDetectionJobRequest withJobName(String jobName)
The identifier of the events detection job.
jobName
- The identifier of the events detection job.public void setLanguageCode(String languageCode)
The language code of the input documents.
languageCode
- The language code of the input documents.LanguageCode
public String getLanguageCode()
The language code of the input documents.
LanguageCode
public StartEventsDetectionJobRequest withLanguageCode(String languageCode)
The language code of the input documents.
languageCode
- The language code of the input documents.LanguageCode
public StartEventsDetectionJobRequest withLanguageCode(LanguageCode languageCode)
The language code of the input documents.
languageCode
- The language code of the input documents.LanguageCode
public void setClientRequestToken(String clientRequestToken)
An unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
clientRequestToken
- An unique identifier for the request. If you don't set the client request token, Amazon Comprehend
generates one.public String getClientRequestToken()
An unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
public StartEventsDetectionJobRequest withClientRequestToken(String clientRequestToken)
An unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
clientRequestToken
- An unique identifier for the request. If you don't set the client request token, Amazon Comprehend
generates one.public List<String> getTargetEventTypes()
The types of events to detect in the input documents.
public void setTargetEventTypes(Collection<String> targetEventTypes)
The types of events to detect in the input documents.
targetEventTypes
- The types of events to detect in the input documents.public StartEventsDetectionJobRequest withTargetEventTypes(String... targetEventTypes)
The types of events to detect in the input documents.
NOTE: This method appends the values to the existing list (if any). Use
setTargetEventTypes(java.util.Collection)
or withTargetEventTypes(java.util.Collection)
if you
want to override the existing values.
targetEventTypes
- The types of events to detect in the input documents.public StartEventsDetectionJobRequest withTargetEventTypes(Collection<String> targetEventTypes)
The types of events to detect in the input documents.
targetEventTypes
- The types of events to detect in the input documents.public List<Tag> getTags()
Tags to associate with the events detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
public void setTags(Collection<Tag> tags)
Tags to associate with the events detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
tags
- Tags to associate with the events detection job. A tag is a key-value pair that adds metadata to a
resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a
resource to indicate its use by the sales department.public StartEventsDetectionJobRequest withTags(Tag... tags)
Tags to associate with the events detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Tags to associate with the events detection job. A tag is a key-value pair that adds metadata to a
resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a
resource to indicate its use by the sales department.public StartEventsDetectionJobRequest withTags(Collection<Tag> tags)
Tags to associate with the events detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
tags
- Tags to associate with the events detection job. A tag is a key-value pair that adds metadata to a
resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a
resource to indicate its use by the sales department.public String toString()
toString
in class Object
Object.toString()
public StartEventsDetectionJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()