@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSource extends Object implements Serializable, Cloneable, StructuredPojo
The source of your data, an Identity and Access Management (IAM) role that allows Amazon Forecast to access the data and, optionally, an Key Management Service (KMS) key.
Constructor and Description |
---|
DataSource() |
Modifier and Type | Method and Description |
---|---|
DataSource |
clone() |
boolean |
equals(Object obj) |
S3Config |
getS3Config()
The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to
access the data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setS3Config(S3Config s3Config)
The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to
access the data.
|
String |
toString()
Returns a string representation of this object.
|
DataSource |
withS3Config(S3Config s3Config)
The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to
access the data.
|
public void setS3Config(S3Config s3Config)
The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.
s3Config
- The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the
credentials to access the data.public S3Config getS3Config()
The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.
public DataSource withS3Config(S3Config s3Config)
The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.
s3Config
- The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the
credentials to access the data.public String toString()
toString
in class Object
Object.toString()
public DataSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.