public class SentimentDetectionJobProperties
extends java.lang.Object
implements java.io.Serializable
Provides information about a sentiment detection job.
Constructor and Description |
---|
SentimentDetectionJobProperties() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDataAccessRoleArn()
The Amazon Resource Name (ARN) that gives Amazon Comprehend read access
to your input data.
|
java.util.Date |
getEndTime()
The time that the sentiment detection job ended.
|
InputDataConfig |
getInputDataConfig()
The input data configuration that you supplied when you created the
sentiment detection job.
|
java.lang.String |
getJobId()
The identifier assigned to the sentiment detection job.
|
java.lang.String |
getJobName()
The name that you assigned to the sentiment detection job
|
java.lang.String |
getJobStatus()
The current status of the sentiment detection job.
|
java.lang.String |
getLanguageCode()
The language code of the input documents.
|
java.lang.String |
getMessage()
A description of the status of a job.
|
OutputDataConfig |
getOutputDataConfig()
The output data configuration that you supplied when you created the
sentiment detection job.
|
java.util.Date |
getSubmitTime()
The time that the sentiment 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 sentiment detection job.
|
int |
hashCode() |
void |
setDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) that gives Amazon Comprehend read access
to your input data.
|
void |
setEndTime(java.util.Date endTime)
The time that the sentiment detection job ended.
|
void |
setInputDataConfig(InputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the
sentiment detection job.
|
void |
setJobId(java.lang.String jobId)
The identifier assigned to the sentiment detection job.
|
void |
setJobName(java.lang.String jobName)
The name that you assigned to the sentiment detection job
|
void |
setJobStatus(JobStatus jobStatus)
The current status of the sentiment detection job.
|
void |
setJobStatus(java.lang.String jobStatus)
The current status of the sentiment detection job.
|
void |
setLanguageCode(LanguageCode languageCode)
The language code of the input documents.
|
void |
setLanguageCode(java.lang.String languageCode)
The language code of the input documents.
|
void |
setMessage(java.lang.String message)
A description of the status of a job.
|
void |
setOutputDataConfig(OutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the
sentiment detection job.
|
void |
setSubmitTime(java.util.Date submitTime)
The time that the sentiment 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 sentiment detection job.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SentimentDetectionJobProperties |
withDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) that gives Amazon Comprehend read access
to your input data.
|
SentimentDetectionJobProperties |
withEndTime(java.util.Date endTime)
The time that the sentiment detection job ended.
|
SentimentDetectionJobProperties |
withInputDataConfig(InputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the
sentiment detection job.
|
SentimentDetectionJobProperties |
withJobId(java.lang.String jobId)
The identifier assigned to the sentiment detection job.
|
SentimentDetectionJobProperties |
withJobName(java.lang.String jobName)
The name that you assigned to the sentiment detection job
|
SentimentDetectionJobProperties |
withJobStatus(JobStatus jobStatus)
The current status of the sentiment detection job.
|
SentimentDetectionJobProperties |
withJobStatus(java.lang.String jobStatus)
The current status of the sentiment detection job.
|
SentimentDetectionJobProperties |
withLanguageCode(LanguageCode languageCode)
The language code of the input documents.
|
SentimentDetectionJobProperties |
withLanguageCode(java.lang.String languageCode)
The language code of the input documents.
|
SentimentDetectionJobProperties |
withMessage(java.lang.String message)
A description of the status of a job.
|
SentimentDetectionJobProperties |
withOutputDataConfig(OutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the
sentiment detection job.
|
SentimentDetectionJobProperties |
withSubmitTime(java.util.Date submitTime)
The time that the sentiment detection job was submitted for processing.
|
SentimentDetectionJobProperties |
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.
|
SentimentDetectionJobProperties |
withVpcConfig(VpcConfig vpcConfig)
Configuration parameters for a private Virtual Private Cloud (VPC)
containing the resources you are using for your sentiment detection job.
|
public java.lang.String getJobId()
The identifier assigned to the sentiment detection job.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
The identifier assigned to the sentiment detection job.
public void setJobId(java.lang.String jobId)
The identifier assigned to the sentiment detection job.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobId
- The identifier assigned to the sentiment detection job.
public SentimentDetectionJobProperties withJobId(java.lang.String jobId)
The identifier assigned to the sentiment 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 sentiment detection job.
public java.lang.String getJobName()
The name that you assigned to the sentiment detection job
Constraints:
Length: 1 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
The name that you assigned to the sentiment detection job
public void setJobName(java.lang.String jobName)
The name that you assigned to the sentiment detection job
Constraints:
Length: 1 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobName
- The name that you assigned to the sentiment detection job
public SentimentDetectionJobProperties withJobName(java.lang.String jobName)
The name that you assigned to the sentiment 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 that you assigned to the sentiment detection job
public java.lang.String getJobStatus()
The current status of the sentiment detection job. If the status is
FAILED
, the Messages
field shows the reason for
the failure.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
The current status of the sentiment detection job. If the status
is FAILED
, the Messages
field shows the
reason for the failure.
JobStatus
public void setJobStatus(java.lang.String jobStatus)
The current status of the sentiment detection job. If the status is
FAILED
, the Messages
field shows the reason for
the failure.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
jobStatus
-
The current status of the sentiment detection job. If the
status is FAILED
, the Messages
field
shows the reason for the failure.
JobStatus
public SentimentDetectionJobProperties withJobStatus(java.lang.String jobStatus)
The current status of the sentiment detection job. If the status is
FAILED
, the Messages
field shows the reason for
the failure.
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 sentiment detection job. If the
status is FAILED
, the Messages
field
shows the reason for the failure.
JobStatus
public void setJobStatus(JobStatus jobStatus)
The current status of the sentiment detection job. If the status is
FAILED
, the Messages
field shows the reason for
the failure.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
jobStatus
-
The current status of the sentiment detection job. If the
status is FAILED
, the Messages
field
shows the reason for the failure.
JobStatus
public SentimentDetectionJobProperties withJobStatus(JobStatus jobStatus)
The current status of the sentiment detection job. If the status is
FAILED
, the Messages
field shows the reason for
the failure.
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 sentiment detection job. If the
status is FAILED
, the Messages
field
shows the reason for the failure.
JobStatus
public java.lang.String getMessage()
A description of the status of a job.
A description of the status of a job.
public void setMessage(java.lang.String message)
A description of the status of a job.
message
- A description of the status of a job.
public SentimentDetectionJobProperties withMessage(java.lang.String message)
A description of the status of a job.
Returns a reference to this object so that method calls can be chained together.
message
- A description of the status of a job.
public java.util.Date getSubmitTime()
The time that the sentiment detection job was submitted for processing.
The time that the sentiment detection job was submitted for processing.
public void setSubmitTime(java.util.Date submitTime)
The time that the sentiment detection job was submitted for processing.
submitTime
- The time that the sentiment detection job was submitted for processing.
public SentimentDetectionJobProperties withSubmitTime(java.util.Date submitTime)
The time that the sentiment 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 sentiment detection job was submitted for processing.
public java.util.Date getEndTime()
The time that the sentiment detection job ended.
The time that the sentiment detection job ended.
public void setEndTime(java.util.Date endTime)
The time that the sentiment detection job ended.
endTime
- The time that the sentiment detection job ended.
public SentimentDetectionJobProperties withEndTime(java.util.Date endTime)
The time that the sentiment detection job ended.
Returns a reference to this object so that method calls can be chained together.
endTime
- The time that the sentiment detection job ended.
public InputDataConfig getInputDataConfig()
The input data configuration that you supplied when you created the sentiment detection job.
The input data configuration that you supplied when you created the sentiment detection job.
public void setInputDataConfig(InputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the sentiment detection job.
inputDataConfig
- The input data configuration that you supplied when you created the sentiment detection job.
public SentimentDetectionJobProperties withInputDataConfig(InputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the sentiment detection job.
Returns a reference to this object so that method calls can be chained together.
inputDataConfig
- The input data configuration that you supplied when you created the sentiment detection job.
public OutputDataConfig getOutputDataConfig()
The output data configuration that you supplied when you created the sentiment detection job.
The output data configuration that you supplied when you created the sentiment detection job.
public void setOutputDataConfig(OutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the sentiment detection job.
outputDataConfig
- The output data configuration that you supplied when you created the sentiment detection job.
public SentimentDetectionJobProperties withOutputDataConfig(OutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the sentiment detection job.
Returns a reference to this object so that method calls can be chained together.
outputDataConfig
- The output data configuration that you supplied when you created the sentiment detection job.
public java.lang.String getLanguageCode()
The language code of the input documents.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
The language code of the input documents.
LanguageCode
public void setLanguageCode(java.lang.String languageCode)
The language code of the input documents.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
languageCode
- The language code of the input documents.
LanguageCode
public SentimentDetectionJobProperties withLanguageCode(java.lang.String languageCode)
The language code of the input documents.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
languageCode
- The language code of the input documents.
LanguageCode
public void setLanguageCode(LanguageCode languageCode)
The language code of the input documents.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
languageCode
- The language code of the input documents.
LanguageCode
public SentimentDetectionJobProperties withLanguageCode(LanguageCode languageCode)
The language code of the input documents.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
languageCode
- The language code of the input documents.
LanguageCode
public java.lang.String getDataAccessRoleArn()
The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.
Constraints:
Length: 20 - 2048
Pattern: arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+
The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.
public void setDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.
Constraints:
Length: 20 - 2048
Pattern: arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+
dataAccessRoleArn
- The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.
public SentimentDetectionJobProperties withDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input 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) that gives Amazon Comprehend read access to your input 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 SentimentDetectionJobProperties 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 sentiment 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 sentiment 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 sentiment 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 sentiment detection job. For more information, see Amazon VPC.
public SentimentDetectionJobProperties withVpcConfig(VpcConfig vpcConfig)
Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your sentiment 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 sentiment 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.