@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LabelingJobSnsDataSource extends Object implements Serializable, Cloneable, StructuredPojo
An Amazon SNS data source used for streaming labeling jobs.
Constructor and Description |
---|
LabelingJobSnsDataSource() |
Modifier and Type | Method and Description |
---|---|
LabelingJobSnsDataSource |
clone() |
boolean |
equals(Object obj) |
String |
getSnsTopicArn()
The Amazon SNS input topic Amazon Resource Name (ARN).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSnsTopicArn(String snsTopicArn)
The Amazon SNS input topic Amazon Resource Name (ARN).
|
String |
toString()
Returns a string representation of this object.
|
LabelingJobSnsDataSource |
withSnsTopicArn(String snsTopicArn)
The Amazon SNS input topic Amazon Resource Name (ARN).
|
public void setSnsTopicArn(String snsTopicArn)
The Amazon SNS input topic Amazon Resource Name (ARN). Specify the ARN of the input topic you will use to send new data objects to a streaming labeling job.
If you specify an input topic for SnsTopicArn
in InputConfig
, you must specify a value
for SnsTopicArn
in OutputConfig
.
snsTopicArn
- The Amazon SNS input topic Amazon Resource Name (ARN). Specify the ARN of the input topic you will use to
send new data objects to a streaming labeling job.
If you specify an input topic for SnsTopicArn
in InputConfig
, you must specify a
value for SnsTopicArn
in OutputConfig
.
public String getSnsTopicArn()
The Amazon SNS input topic Amazon Resource Name (ARN). Specify the ARN of the input topic you will use to send new data objects to a streaming labeling job.
If you specify an input topic for SnsTopicArn
in InputConfig
, you must specify a value
for SnsTopicArn
in OutputConfig
.
If you specify an input topic for SnsTopicArn
in InputConfig
, you must specify
a value for SnsTopicArn
in OutputConfig
.
public LabelingJobSnsDataSource withSnsTopicArn(String snsTopicArn)
The Amazon SNS input topic Amazon Resource Name (ARN). Specify the ARN of the input topic you will use to send new data objects to a streaming labeling job.
If you specify an input topic for SnsTopicArn
in InputConfig
, you must specify a value
for SnsTopicArn
in OutputConfig
.
snsTopicArn
- The Amazon SNS input topic Amazon Resource Name (ARN). Specify the ARN of the input topic you will use to
send new data objects to a streaming labeling job.
If you specify an input topic for SnsTopicArn
in InputConfig
, you must specify a
value for SnsTopicArn
in OutputConfig
.
public String toString()
toString
in class Object
Object.toString()
public LabelingJobSnsDataSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.