public class TopicsDetectionJobProperties
extends java.lang.Object
implements java.io.Serializable
Provides information about a topic detection job.
Constructor and Description |
---|
TopicsDetectionJobProperties() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDataAccessRoleArn()
The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM)
role that grants Amazon Comprehend read access to your job data.
|
java.util.Date |
getEndTime()
The time that the topic detection job was completed.
|
InputDataConfig |
getInputDataConfig()
The input data configuration supplied when you created the topic
detection job.
|
java.lang.String |
getJobId()
The identifier assigned to the topic detection job.
|
java.lang.String |
getJobName()
The name of the topic detection job.
|
java.lang.String |
getJobStatus()
The current status of the topic detection job.
|
java.lang.String |
getMessage()
A description for the status of a job.
|
java.lang.Integer |
getNumberOfTopics()
The number of topics to detect supplied when you created the topic
detection job.
|
OutputDataConfig |
getOutputDataConfig()
The output data configuration supplied when you created the topic
detection job.
|
java.util.Date |
getSubmitTime()
The time that the topic detection job was submitted for processing.
|
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 a private Virtual Private Cloud (VPC)
containing the resources you are using for your topic detection job.
|
int |
hashCode() |
void |
setDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM)
role that grants Amazon Comprehend read access to your job data.
|
void |
setEndTime(java.util.Date endTime)
The time that the topic detection job was completed.
|
void |
setInputDataConfig(InputDataConfig inputDataConfig)
The input data configuration supplied when you created the topic
detection job.
|
void |
setJobId(java.lang.String jobId)
The identifier assigned to the topic detection job.
|
void |
setJobName(java.lang.String jobName)
The name of the topic detection job.
|
void |
setJobStatus(JobStatus jobStatus)
The current status of the topic detection job.
|
void |
setJobStatus(java.lang.String jobStatus)
The current status of the topic detection job.
|
void |
setMessage(java.lang.String message)
A description for the status of a job.
|
void |
setNumberOfTopics(java.lang.Integer numberOfTopics)
The number of topics to detect supplied when you created the topic
detection job.
|
void |
setOutputDataConfig(OutputDataConfig outputDataConfig)
The output data configuration supplied when you created the topic
detection job.
|
void |
setSubmitTime(java.util.Date submitTime)
The time that the topic detection job was submitted for processing.
|
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 a 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.
|
TopicsDetectionJobProperties |
withDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM)
role that grants Amazon Comprehend read access to your job data.
|
TopicsDetectionJobProperties |
withEndTime(java.util.Date endTime)
The time that the topic detection job was completed.
|
TopicsDetectionJobProperties |
withInputDataConfig(InputDataConfig inputDataConfig)
The input data configuration supplied when you created the topic
detection job.
|
TopicsDetectionJobProperties |
withJobId(java.lang.String jobId)
The identifier assigned to the topic detection job.
|
TopicsDetectionJobProperties |
withJobName(java.lang.String jobName)
The name of the topic detection job.
|
TopicsDetectionJobProperties |
withJobStatus(JobStatus jobStatus)
The current status of the topic detection job.
|
TopicsDetectionJobProperties |
withJobStatus(java.lang.String jobStatus)
The current status of the topic detection job.
|
TopicsDetectionJobProperties |
withMessage(java.lang.String message)
A description for the status of a job.
|
TopicsDetectionJobProperties |
withNumberOfTopics(java.lang.Integer numberOfTopics)
The number of topics to detect supplied when you created the topic
detection job.
|
TopicsDetectionJobProperties |
withOutputDataConfig(OutputDataConfig outputDataConfig)
The output data configuration supplied when you created the topic
detection job.
|
TopicsDetectionJobProperties |
withSubmitTime(java.util.Date submitTime)
The time that the topic detection job was submitted for processing.
|
TopicsDetectionJobProperties |
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.
|
TopicsDetectionJobProperties |
withVpcConfig(VpcConfig vpcConfig)
Configuration parameters for a private Virtual Private Cloud (VPC)
containing the resources you are using for your topic detection job.
|
public java.lang.String getJobId()
The identifier assigned to the topic detection job.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
The identifier assigned to the topic detection job.
public void setJobId(java.lang.String jobId)
The identifier assigned to the topic detection job.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobId
- The identifier assigned to the topic detection job.
public TopicsDetectionJobProperties withJobId(java.lang.String jobId)
The identifier assigned to the topic detection job.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobId
- The identifier assigned to the topic detection job.
public java.lang.String getJobName()
The name of the topic detection job.
Constraints:
Length: 1 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
The name of the topic detection job.
public void setJobName(java.lang.String jobName)
The name of the topic detection job.
Constraints:
Length: 1 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobName
- The name of the topic detection job.
public TopicsDetectionJobProperties withJobName(java.lang.String jobName)
The name of the topic detection 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 name of the topic detection job.
public java.lang.String getJobStatus()
The current status of the topic detection job. If the status is
Failed
, the reason for the failure is shown in the
Message
field.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
The current status of the topic detection job. If the status is
Failed
, the reason for the failure is shown in the
Message
field.
JobStatus
public void setJobStatus(java.lang.String jobStatus)
The current status of the topic detection job. If the status is
Failed
, the reason for the failure is shown in the
Message
field.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
jobStatus
-
The current status of the topic detection job. If the status
is Failed
, the reason for the failure is shown in
the Message
field.
JobStatus
public TopicsDetectionJobProperties withJobStatus(java.lang.String jobStatus)
The current status of the topic detection job. If the status is
Failed
, the reason for the failure is shown in the
Message
field.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
jobStatus
-
The current status of the topic detection job. If the status
is Failed
, the reason for the failure is shown in
the Message
field.
JobStatus
public void setJobStatus(JobStatus jobStatus)
The current status of the topic detection job. If the status is
Failed
, the reason for the failure is shown in the
Message
field.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
jobStatus
-
The current status of the topic detection job. If the status
is Failed
, the reason for the failure is shown in
the Message
field.
JobStatus
public TopicsDetectionJobProperties withJobStatus(JobStatus jobStatus)
The current status of the topic detection job. If the status is
Failed
, the reason for the failure is shown in the
Message
field.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
jobStatus
-
The current status of the topic detection job. If the status
is Failed
, the reason for the failure is shown in
the Message
field.
JobStatus
public java.lang.String getMessage()
A description for the status of a job.
A description for the status of a job.
public void setMessage(java.lang.String message)
A description for the status of a job.
message
- A description for the status of a job.
public TopicsDetectionJobProperties withMessage(java.lang.String message)
A description for the status of a job.
Returns a reference to this object so that method calls can be chained together.
message
- A description for the status of a job.
public java.util.Date getSubmitTime()
The time that the topic detection job was submitted for processing.
The time that the topic detection job was submitted for processing.
public void setSubmitTime(java.util.Date submitTime)
The time that the topic detection job was submitted for processing.
submitTime
- The time that the topic detection job was submitted for processing.
public TopicsDetectionJobProperties withSubmitTime(java.util.Date submitTime)
The time that the topic detection job was submitted for processing.
Returns a reference to this object so that method calls can be chained together.
submitTime
- The time that the topic detection job was submitted for processing.
public java.util.Date getEndTime()
The time that the topic detection job was completed.
The time that the topic detection job was completed.
public void setEndTime(java.util.Date endTime)
The time that the topic detection job was completed.
endTime
- The time that the topic detection job was completed.
public TopicsDetectionJobProperties withEndTime(java.util.Date endTime)
The time that the topic detection job was completed.
Returns a reference to this object so that method calls can be chained together.
endTime
- The time that the topic detection job was completed.
public InputDataConfig getInputDataConfig()
The input data configuration supplied when you created the topic detection job.
The input data configuration supplied when you created the topic detection job.
public void setInputDataConfig(InputDataConfig inputDataConfig)
The input data configuration supplied when you created the topic detection job.
inputDataConfig
- The input data configuration supplied when you created the topic detection job.
public TopicsDetectionJobProperties withInputDataConfig(InputDataConfig inputDataConfig)
The input data configuration supplied when you created the topic detection job.
Returns a reference to this object so that method calls can be chained together.
inputDataConfig
- The input data configuration supplied when you created the topic detection job.
public OutputDataConfig getOutputDataConfig()
The output data configuration supplied when you created the topic detection job.
The output data configuration supplied when you created the topic detection job.
public void setOutputDataConfig(OutputDataConfig outputDataConfig)
The output data configuration supplied when you created the topic detection job.
outputDataConfig
- The output data configuration supplied when you created the topic detection job.
public TopicsDetectionJobProperties withOutputDataConfig(OutputDataConfig outputDataConfig)
The output data configuration supplied when you created the topic detection job.
Returns a reference to this object so that method calls can be chained together.
outputDataConfig
- The output data configuration supplied when you created the topic detection job.
public java.lang.Integer getNumberOfTopics()
The number of topics to detect supplied when you created the topic detection job. The default is 10.
The number of topics to detect supplied when you created the topic detection job. The default is 10.
public void setNumberOfTopics(java.lang.Integer numberOfTopics)
The number of topics to detect supplied when you created the topic detection job. The default is 10.
numberOfTopics
- The number of topics to detect supplied when you created the topic detection job. The default is 10.
public TopicsDetectionJobProperties withNumberOfTopics(java.lang.Integer numberOfTopics)
The number of topics to detect supplied when you created the topic detection job. The default is 10.
Returns a reference to this object so that method calls can be chained together.
numberOfTopics
- The number of topics to detect supplied when you created the topic detection job. The default is 10.
public java.lang.String getDataAccessRoleArn()
The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your job data.
Constraints:
Length: 20 - 2048
Pattern: arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+
The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your job data.
public void setDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your job data.
Constraints:
Length: 20 - 2048
Pattern: arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+
dataAccessRoleArn
- The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your job data.
public TopicsDetectionJobProperties withDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your job data.
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 Management (IAM) role that grants Amazon Comprehend read access to your job data.
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 TopicsDetectionJobProperties 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 a 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 a 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 a 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 a private Virtual Private Cloud (VPC) containing the resources you are using for your topic detection job. For more information, see Amazon VPC.
public TopicsDetectionJobProperties withVpcConfig(VpcConfig vpcConfig)
Configuration parameters for a 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 a 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.