@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetedSentimentDetectionJobProperties extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a targeted sentiment detection job.
Constructor and Description |
---|
TargetedSentimentDetectionJobProperties() |
Modifier and Type | Method and Description |
---|---|
TargetedSentimentDetectionJobProperties |
clone() |
boolean |
equals(Object obj) |
String |
getDataAccessRoleArn()
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
|
Date |
getEndTime()
The time that the targeted sentiment detection job ended.
|
InputDataConfig |
getInputDataConfig() |
String |
getJobArn()
The Amazon Resource Name (ARN) of the targeted sentiment detection job.
|
String |
getJobId()
The identifier assigned to the targeted sentiment detection job.
|
String |
getJobName()
The name that you assigned to the targeted sentiment detection job.
|
String |
getJobStatus()
The current status of the targeted sentiment detection job.
|
String |
getLanguageCode()
The language code of the input documents.
|
String |
getMessage()
A description of the status of a job.
|
OutputDataConfig |
getOutputDataConfig() |
Date |
getSubmitTime()
The time that the targeted sentiment detection job was submitted for processing.
|
String |
getVolumeKmsKeyId()
ID for the KMS key that Amazon Comprehend uses to encrypt the data on the storage volume attached to the ML
compute instance(s) that process the targeted sentiment detection job.
|
VpcConfig |
getVpcConfig() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
|
void |
setEndTime(Date endTime)
The time that the targeted sentiment detection job ended.
|
void |
setInputDataConfig(InputDataConfig inputDataConfig) |
void |
setJobArn(String jobArn)
The Amazon Resource Name (ARN) of the targeted sentiment detection job.
|
void |
setJobId(String jobId)
The identifier assigned to the targeted sentiment detection job.
|
void |
setJobName(String jobName)
The name that you assigned to the targeted sentiment detection job.
|
void |
setJobStatus(String jobStatus)
The current status of the targeted sentiment detection job.
|
void |
setLanguageCode(String languageCode)
The language code of the input documents.
|
void |
setMessage(String message)
A description of the status of a job.
|
void |
setOutputDataConfig(OutputDataConfig outputDataConfig) |
void |
setSubmitTime(Date submitTime)
The time that the targeted sentiment detection job was submitted for processing.
|
void |
setVolumeKmsKeyId(String volumeKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt the data on the storage volume attached to the ML
compute instance(s) that process the targeted sentiment detection job.
|
void |
setVpcConfig(VpcConfig vpcConfig) |
String |
toString()
Returns a string representation of this object.
|
TargetedSentimentDetectionJobProperties |
withDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
|
TargetedSentimentDetectionJobProperties |
withEndTime(Date endTime)
The time that the targeted sentiment detection job ended.
|
TargetedSentimentDetectionJobProperties |
withInputDataConfig(InputDataConfig inputDataConfig) |
TargetedSentimentDetectionJobProperties |
withJobArn(String jobArn)
The Amazon Resource Name (ARN) of the targeted sentiment detection job.
|
TargetedSentimentDetectionJobProperties |
withJobId(String jobId)
The identifier assigned to the targeted sentiment detection job.
|
TargetedSentimentDetectionJobProperties |
withJobName(String jobName)
The name that you assigned to the targeted sentiment detection job.
|
TargetedSentimentDetectionJobProperties |
withJobStatus(JobStatus jobStatus)
The current status of the targeted sentiment detection job.
|
TargetedSentimentDetectionJobProperties |
withJobStatus(String jobStatus)
The current status of the targeted sentiment detection job.
|
TargetedSentimentDetectionJobProperties |
withLanguageCode(LanguageCode languageCode)
The language code of the input documents.
|
TargetedSentimentDetectionJobProperties |
withLanguageCode(String languageCode)
The language code of the input documents.
|
TargetedSentimentDetectionJobProperties |
withMessage(String message)
A description of the status of a job.
|
TargetedSentimentDetectionJobProperties |
withOutputDataConfig(OutputDataConfig outputDataConfig) |
TargetedSentimentDetectionJobProperties |
withSubmitTime(Date submitTime)
The time that the targeted sentiment detection job was submitted for processing.
|
TargetedSentimentDetectionJobProperties |
withVolumeKmsKeyId(String volumeKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt the data on the storage volume attached to the ML
compute instance(s) that process the targeted sentiment detection job.
|
TargetedSentimentDetectionJobProperties |
withVpcConfig(VpcConfig vpcConfig) |
public TargetedSentimentDetectionJobProperties()
public void setJobId(String jobId)
The identifier assigned to the targeted sentiment detection job.
jobId
- The identifier assigned to the targeted sentiment detection job.public String getJobId()
The identifier assigned to the targeted sentiment detection job.
public TargetedSentimentDetectionJobProperties withJobId(String jobId)
The identifier assigned to the targeted sentiment detection job.
jobId
- The identifier assigned to the targeted sentiment detection job.public void setJobArn(String jobArn)
The Amazon Resource Name (ARN) of the targeted sentiment detection job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:<partition>:comprehend:<region>:<account-id>:targeted-sentiment-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:targeted-sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
jobArn
- The Amazon Resource Name (ARN) of the targeted sentiment detection job. It is a unique, fully qualified
identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the
job ID. The format of the ARN is as follows:
arn:<partition>:comprehend:<region>:<account-id>:targeted-sentiment-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:targeted-sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
public String getJobArn()
The Amazon Resource Name (ARN) of the targeted sentiment detection job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:<partition>:comprehend:<region>:<account-id>:targeted-sentiment-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:targeted-sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
arn:<partition>:comprehend:<region>:<account-id>:targeted-sentiment-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:targeted-sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
public TargetedSentimentDetectionJobProperties withJobArn(String jobArn)
The Amazon Resource Name (ARN) of the targeted sentiment detection job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:<partition>:comprehend:<region>:<account-id>:targeted-sentiment-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:targeted-sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
jobArn
- The Amazon Resource Name (ARN) of the targeted sentiment detection job. It is a unique, fully qualified
identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the
job ID. The format of the ARN is as follows:
arn:<partition>:comprehend:<region>:<account-id>:targeted-sentiment-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:targeted-sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
public void setJobName(String jobName)
The name that you assigned to the targeted sentiment detection job.
jobName
- The name that you assigned to the targeted sentiment detection job.public String getJobName()
The name that you assigned to the targeted sentiment detection job.
public TargetedSentimentDetectionJobProperties withJobName(String jobName)
The name that you assigned to the targeted sentiment detection job.
jobName
- The name that you assigned to the targeted sentiment detection job.public void setJobStatus(String jobStatus)
The current status of the targeted sentiment detection job. If the status is FAILED
, the
Messages
field shows the reason for the failure.
jobStatus
- The current status of the targeted sentiment detection job. If the status is FAILED
, the
Messages
field shows the reason for the failure.JobStatus
public String getJobStatus()
The current status of the targeted sentiment detection job. If the status is FAILED
, the
Messages
field shows the reason for the failure.
FAILED
, the
Messages
field shows the reason for the failure.JobStatus
public TargetedSentimentDetectionJobProperties withJobStatus(String jobStatus)
The current status of the targeted sentiment detection job. If the status is FAILED
, the
Messages
field shows the reason for the failure.
jobStatus
- The current status of the targeted sentiment detection job. If the status is FAILED
, the
Messages
field shows the reason for the failure.JobStatus
public TargetedSentimentDetectionJobProperties withJobStatus(JobStatus jobStatus)
The current status of the targeted sentiment detection job. If the status is FAILED
, the
Messages
field shows the reason for the failure.
jobStatus
- The current status of the targeted sentiment detection job. If the status is FAILED
, the
Messages
field shows the reason for the failure.JobStatus
public void setMessage(String message)
A description of the status of a job.
message
- A description of the status of a job.public String getMessage()
A description of the status of a job.
public TargetedSentimentDetectionJobProperties withMessage(String message)
A description of the status of a job.
message
- A description of the status of a job.public void setSubmitTime(Date submitTime)
The time that the targeted sentiment detection job was submitted for processing.
submitTime
- The time that the targeted sentiment detection job was submitted for processing.public Date getSubmitTime()
The time that the targeted sentiment detection job was submitted for processing.
public TargetedSentimentDetectionJobProperties withSubmitTime(Date submitTime)
The time that the targeted sentiment detection job was submitted for processing.
submitTime
- The time that the targeted sentiment detection job was submitted for processing.public void setEndTime(Date endTime)
The time that the targeted sentiment detection job ended.
endTime
- The time that the targeted sentiment detection job ended.public Date getEndTime()
The time that the targeted sentiment detection job ended.
public TargetedSentimentDetectionJobProperties withEndTime(Date endTime)
The time that the targeted sentiment detection job ended.
endTime
- The time that the targeted sentiment detection job ended.public void setInputDataConfig(InputDataConfig inputDataConfig)
inputDataConfig
- public InputDataConfig getInputDataConfig()
public TargetedSentimentDetectionJobProperties withInputDataConfig(InputDataConfig inputDataConfig)
inputDataConfig
- public void setOutputDataConfig(OutputDataConfig outputDataConfig)
outputDataConfig
- public OutputDataConfig getOutputDataConfig()
public TargetedSentimentDetectionJobProperties withOutputDataConfig(OutputDataConfig outputDataConfig)
outputDataConfig
- 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 TargetedSentimentDetectionJobProperties withLanguageCode(String languageCode)
The language code of the input documents.
languageCode
- The language code of the input documents.LanguageCode
public TargetedSentimentDetectionJobProperties withLanguageCode(LanguageCode languageCode)
The language code of the input documents.
languageCode
- The language code of the input documents.LanguageCode
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 TargetedSentimentDetectionJobProperties 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 setVolumeKmsKeyId(String volumeKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt the data on the storage volume attached to the ML compute instance(s) that process the targeted sentiment detection 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"
volumeKmsKeyId
- ID for the KMS key that Amazon Comprehend uses to encrypt the data on the storage volume attached to the
ML compute instance(s) that process the targeted sentiment detection 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 String getVolumeKmsKeyId()
ID for the KMS key that Amazon Comprehend uses to encrypt the data on the storage volume attached to the ML compute instance(s) that process the targeted sentiment detection 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"
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 TargetedSentimentDetectionJobProperties withVolumeKmsKeyId(String volumeKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt the data on the storage volume attached to the ML compute instance(s) that process the targeted sentiment detection 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"
volumeKmsKeyId
- ID for the KMS key that Amazon Comprehend uses to encrypt the data on the storage volume attached to the
ML compute instance(s) that process the targeted sentiment detection 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 setVpcConfig(VpcConfig vpcConfig)
vpcConfig
- public VpcConfig getVpcConfig()
public TargetedSentimentDetectionJobProperties withVpcConfig(VpcConfig vpcConfig)
vpcConfig
- public String toString()
toString
in class Object
Object.toString()
public TargetedSentimentDetectionJobProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.