public class StartTopicsDetectionJobRequest extends AmazonWebServiceRequest implements java.io.Serializable
Starts an asynchronous topic detection job. Use the
DescribeTopicDetectionJob
operation to track the status of a
job.
Constructor and Description |
---|
StartTopicsDetectionJobRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClientRequestToken()
A unique identifier for the request.
|
java.lang.String |
getDataAccessRoleArn()
The Amazon Resource Name (ARN) of the AWS Identity and Access Management
(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.
|
java.lang.String |
getJobName()
The identifier of the job.
|
java.lang.Integer |
getNumberOfTopics()
The number of topics to detect.
|
OutputDataConfig |
getOutputDataConfig()
Specifies where to send the output files.
|
java.lang.String |
getVolumeKmsKeyId()
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
uses to encrypt data on the storage volume attached to the ML compute
instance(s) that process the analysis job.
|
VpcConfig |
getVpcConfig()
Configuration parameters for an optional private Virtual Private Cloud
(VPC) containing the resources you are using for your topic detection
job.
|
int |
hashCode() |
void |
setClientRequestToken(java.lang.String clientRequestToken)
A unique identifier for the request.
|
void |
setDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management
(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(java.lang.String jobName)
The identifier of the job.
|
void |
setNumberOfTopics(java.lang.Integer numberOfTopics)
The number of topics to detect.
|
void |
setOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files.
|
void |
setVolumeKmsKeyId(java.lang.String volumeKmsKeyId)
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
uses to encrypt data on the storage volume attached to the ML compute
instance(s) that process the analysis job.
|
void |
setVpcConfig(VpcConfig vpcConfig)
Configuration parameters for an optional private Virtual Private Cloud
(VPC) containing the resources you are using for your topic detection
job.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StartTopicsDetectionJobRequest |
withClientRequestToken(java.lang.String clientRequestToken)
A unique identifier for the request.
|
StartTopicsDetectionJobRequest |
withDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management
(IAM) role that grants Amazon Comprehend read access to your input data.
|
StartTopicsDetectionJobRequest |
withInputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and location of the input data for the job.
|
StartTopicsDetectionJobRequest |
withJobName(java.lang.String jobName)
The identifier of the job.
|
StartTopicsDetectionJobRequest |
withNumberOfTopics(java.lang.Integer numberOfTopics)
The number of topics to detect.
|
StartTopicsDetectionJobRequest |
withOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files.
|
StartTopicsDetectionJobRequest |
withVolumeKmsKeyId(java.lang.String volumeKmsKeyId)
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
uses to encrypt data on the storage volume attached to the ML compute
instance(s) that process the analysis job.
|
StartTopicsDetectionJobRequest |
withVpcConfig(VpcConfig vpcConfig)
Configuration parameters for an optional private Virtual Private Cloud
(VPC) containing the resources you are using for your topic detection
job.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public InputDataConfig getInputDataConfig()
Specifies the format and location of the input data for the job.
Specifies the format and location of the input data for the job.
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 StartTopicsDetectionJobRequest withInputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and location of the input data for the job.
Returns a reference to this object so that method calls can be chained together.
inputDataConfig
- Specifies the format and location of the input data for the job.
public OutputDataConfig getOutputDataConfig()
Specifies where to send the output files. The output is a compressed
archive with two files, topic-terms.csv
that lists the terms
associated with each topic, and doc-topics.csv
that lists
the documents associated with each topic
Specifies where to send the output files. The output is a
compressed archive with two files, topic-terms.csv
that lists the terms associated with each topic, and
doc-topics.csv
that lists the documents associated
with each topic
public void setOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files. The output is a compressed
archive with two files, topic-terms.csv
that lists the terms
associated with each topic, and doc-topics.csv
that lists
the documents associated with each topic
outputDataConfig
-
Specifies where to send the output files. The output is a
compressed archive with two files,
topic-terms.csv
that lists the terms associated
with each topic, and doc-topics.csv
that lists
the documents associated with each topic
public StartTopicsDetectionJobRequest withOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files. The output is a compressed
archive with two files, topic-terms.csv
that lists the terms
associated with each topic, and doc-topics.csv
that lists
the documents associated with each topic
Returns a reference to this object so that method calls can be chained together.
outputDataConfig
-
Specifies where to send the output files. The output is a
compressed archive with two files,
topic-terms.csv
that lists the terms associated
with each topic, and doc-topics.csv
that lists
the documents associated with each topic
public java.lang.String getDataAccessRoleArn()
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data. For more information, see https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing -permissions.html#auth-role-permissions.
Constraints:
Length: 20 - 2048
Pattern: arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data. For more information, see https://docs.aws.amazon.com/comprehend/latest/dg/access-control- managing-permissions.html#auth-role-permissions.
public void setDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data. For more information, see https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing -permissions.html#auth-role-permissions.
Constraints:
Length: 20 - 2048
Pattern: arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+
dataAccessRoleArn
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data. For more information, see https://docs.aws.amazon.com/comprehend/latest/dg/access- control-managing-permissions.html#auth-role-permissions.
public StartTopicsDetectionJobRequest withDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data. For more information, see https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing -permissions.html#auth-role-permissions.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
Pattern: arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+
dataAccessRoleArn
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data. For more information, see https://docs.aws.amazon.com/comprehend/latest/dg/access- control-managing-permissions.html#auth-role-permissions.
public java.lang.String getJobName()
The identifier of the job.
Constraints:
Length: 1 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
The identifier of the job.
public void setJobName(java.lang.String jobName)
The identifier of the job.
Constraints:
Length: 1 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobName
- The identifier of the job.
public StartTopicsDetectionJobRequest withJobName(java.lang.String jobName)
The identifier of the job.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobName
- The identifier of the job.
public java.lang.Integer getNumberOfTopics()
The number of topics to detect.
Constraints:
Range: 1 - 100
The number of topics to detect.
public void setNumberOfTopics(java.lang.Integer numberOfTopics)
The number of topics to detect.
Constraints:
Range: 1 - 100
numberOfTopics
- The number of topics to detect.
public StartTopicsDetectionJobRequest withNumberOfTopics(java.lang.Integer numberOfTopics)
The number of topics to detect.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 100
numberOfTopics
- The number of topics to detect.
public java.lang.String getClientRequestToken()
A unique identifier for the request. If you do not set the client request token, Amazon Comprehend generates one.
Constraints:
Length: 1 - 64
Pattern: ^[a-zA-Z0-9-]+$
A unique identifier for the request. If you do not set the client request token, Amazon Comprehend generates one.
public void setClientRequestToken(java.lang.String clientRequestToken)
A unique identifier for the request. If you do not set the client request token, Amazon Comprehend generates one.
Constraints:
Length: 1 - 64
Pattern: ^[a-zA-Z0-9-]+$
clientRequestToken
- A unique identifier for the request. If you do not set the client request token, Amazon Comprehend generates one.
public StartTopicsDetectionJobRequest withClientRequestToken(java.lang.String clientRequestToken)
A unique identifier for the request. If you do not set the client request token, Amazon Comprehend generates one.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: ^[a-zA-Z0-9-]+$
clientRequestToken
- A unique identifier for the request. If you do not set the client request token, Amazon Comprehend generates one.
public java.lang.String getVolumeKmsKeyId()
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
Constraints:
Length: - 2048
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
public void setVolumeKmsKeyId(java.lang.String volumeKmsKeyId)
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
Constraints:
Length: - 2048
volumeKmsKeyId
- ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
public StartTopicsDetectionJobRequest withVolumeKmsKeyId(java.lang.String volumeKmsKeyId)
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 2048
volumeKmsKeyId
- ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
public VpcConfig getVpcConfig()
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your topic detection job. For more information, see Amazon VPC.
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your topic detection job. For more information, see Amazon VPC.
public void setVpcConfig(VpcConfig vpcConfig)
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your topic detection job. For more information, see Amazon VPC.
vpcConfig
- Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your topic detection job. For more information, see Amazon VPC.
public StartTopicsDetectionJobRequest withVpcConfig(VpcConfig vpcConfig)
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your topic detection job. For more information, see Amazon VPC.
Returns a reference to this object so that method calls can be chained together.
vpcConfig
- Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your topic detection job. For more information, see Amazon VPC.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.