@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 seed audience for the generating audience is stored.
Constructor and Description |
---|
AudienceGenerationJobDataSource() |
Modifier and Type | Method and Description |
---|---|
AudienceGenerationJobDataSource |
clone() |
boolean |
equals(Object obj) |
S3ConfigMap |
getDataSource()
Defines the Amazon S3 bucket where the seed audience for the generating 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)
Defines the Amazon S3 bucket where the seed audience for the generating 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)
Defines the Amazon S3 bucket where the seed audience for the generating 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)
Defines the Amazon S3 bucket where the seed audience for the generating audience is stored. A valid data source is a JSON line file in the following format:
{"user_id": "111111"}
{"user_id": "222222"}
...
dataSource
- Defines the Amazon S3 bucket where the seed audience for the generating audience is stored. A valid data
source is a JSON line file in the following format:
{"user_id": "111111"}
{"user_id": "222222"}
...
public S3ConfigMap getDataSource()
Defines the Amazon S3 bucket where the seed audience for the generating audience is stored. A valid data source is a JSON line file in the following format:
{"user_id": "111111"}
{"user_id": "222222"}
...
{"user_id": "111111"}
{"user_id": "222222"}
...
public AudienceGenerationJobDataSource withDataSource(S3ConfigMap dataSource)
Defines the Amazon S3 bucket where the seed audience for the generating audience is stored. A valid data source is a JSON line file in the following format:
{"user_id": "111111"}
{"user_id": "222222"}
...
dataSource
- Defines the Amazon S3 bucket where the seed audience for the generating audience is stored. A valid data
source is a JSON line file in the following format:
{"user_id": "111111"}
{"user_id": "222222"}
...
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.