@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Config extends Object implements Serializable, Cloneable, StructuredPojo
The path to the file(s) in an Amazon Simple Storage Service (Amazon S3) bucket, and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the file(s). Optionally, includes an AWS Key Management Service (KMS) key. This object is submitted in the CreateDatasetImportJob and CreateForecastExportJob requests.
| Constructor and Description |
|---|
S3Config() |
| Modifier and Type | Method and Description |
|---|---|
S3Config |
clone() |
boolean |
equals(Object obj) |
String |
getKMSKeyArn()
The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key.
|
String |
getPath()
The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.
|
String |
getRoleArn()
The ARN of the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon
S3 bucket or file(s).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKMSKeyArn(String kMSKeyArn)
The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key.
|
void |
setPath(String path)
The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.
|
void |
setRoleArn(String roleArn)
The ARN of the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon
S3 bucket or file(s).
|
String |
toString()
Returns a string representation of this object.
|
S3Config |
withKMSKeyArn(String kMSKeyArn)
The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key.
|
S3Config |
withPath(String path)
The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.
|
S3Config |
withRoleArn(String roleArn)
The ARN of the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon
S3 bucket or file(s).
|
public void setPath(String path)
The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.
path - The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.public String getPath()
The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.
public S3Config withPath(String path)
The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.
path - The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.public void setRoleArn(String roleArn)
The ARN of the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket or file(s).
Cross-account pass role is not allowed. If you pass a role that doesn't belong to your account, an
InvalidInputException is thrown.
roleArn - The ARN of the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the
Amazon S3 bucket or file(s).
Cross-account pass role is not allowed. If you pass a role that doesn't belong to your account, an
InvalidInputException is thrown.
public String getRoleArn()
The ARN of the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket or file(s).
Cross-account pass role is not allowed. If you pass a role that doesn't belong to your account, an
InvalidInputException is thrown.
Cross-account pass role is not allowed. If you pass a role that doesn't belong to your account, an
InvalidInputException is thrown.
public S3Config withRoleArn(String roleArn)
The ARN of the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket or file(s).
Cross-account pass role is not allowed. If you pass a role that doesn't belong to your account, an
InvalidInputException is thrown.
roleArn - The ARN of the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the
Amazon S3 bucket or file(s).
Cross-account pass role is not allowed. If you pass a role that doesn't belong to your account, an
InvalidInputException is thrown.
public void setKMSKeyArn(String kMSKeyArn)
The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key.
kMSKeyArn - The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key.public String getKMSKeyArn()
The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key.
public S3Config withKMSKeyArn(String kMSKeyArn)
The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key.
kMSKeyArn - The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.