@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AudienceGenerationJobDataSource extends Object implements Serializable, Cloneable, StructuredPojo
Defines the Amazon S3 bucket where the training data for the configured audience is stored.
Constructor and Description |
---|
AudienceGenerationJobDataSource() |
Modifier and Type | Method and Description |
---|---|
AudienceGenerationJobDataSource |
clone() |
boolean |
equals(Object obj) |
S3ConfigMap |
getDataSource()
The Amazon S3 bucket where the training data for the configured audience is stored.
|
String |
getRoleArn()
The ARN of the IAM role that can read the Amazon S3 bucket where the training data is stored.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataSource(S3ConfigMap dataSource)
The Amazon S3 bucket where the training data for the configured audience is stored.
|
void |
setRoleArn(String roleArn)
The ARN of the IAM role that can read the Amazon S3 bucket where the training data is stored.
|
String |
toString()
Returns a string representation of this object.
|
AudienceGenerationJobDataSource |
withDataSource(S3ConfigMap dataSource)
The Amazon S3 bucket where the training data for the configured audience is stored.
|
AudienceGenerationJobDataSource |
withRoleArn(String roleArn)
The ARN of the IAM role that can read the Amazon S3 bucket where the training data is stored.
|
public void setDataSource(S3ConfigMap dataSource)
The Amazon S3 bucket where the training data for the configured audience is stored.
dataSource
- The Amazon S3 bucket where the training data for the configured audience is stored.public S3ConfigMap getDataSource()
The Amazon S3 bucket where the training data for the configured audience is stored.
public AudienceGenerationJobDataSource withDataSource(S3ConfigMap dataSource)
The Amazon S3 bucket where the training data for the configured audience is stored.
dataSource
- The Amazon S3 bucket where the training data for the configured audience is stored.public void setRoleArn(String roleArn)
The ARN of the IAM role that can read the Amazon S3 bucket where the training data is stored.
roleArn
- The ARN of the IAM role that can read the Amazon S3 bucket where the training data is stored.public String getRoleArn()
The ARN of the IAM role that can read the Amazon S3 bucket where the training data is stored.
public AudienceGenerationJobDataSource withRoleArn(String roleArn)
The ARN of the IAM role that can read the Amazon S3 bucket where the training data is stored.
roleArn
- The ARN of the IAM role that can read the Amazon S3 bucket where the training data is stored.public String toString()
toString
in class Object
Object.toString()
public AudienceGenerationJobDataSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.