@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Configuration extends Object implements Serializable, Cloneable, StructuredPojo
Provides a description of an Amazon S3 data source, including the Amazon Resource Name (ARN) of the S3 bucket, the ARN of the IAM role that is used to access the bucket, and the name of the Amazon S3 object that contains the data.
Constructor and Description |
---|
S3Configuration() |
Modifier and Type | Method and Description |
---|---|
S3Configuration |
clone() |
boolean |
equals(Object obj) |
String |
getBucketARN()
ARN of the S3 bucket that contains the data.
|
String |
getFileKey()
The name of the object that contains the data.
|
String |
getRoleARN()
IAM ARN of the role used to access the data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBucketARN(String bucketARN)
ARN of the S3 bucket that contains the data.
|
void |
setFileKey(String fileKey)
The name of the object that contains the data.
|
void |
setRoleARN(String roleARN)
IAM ARN of the role used to access the data.
|
String |
toString()
Returns a string representation of this object.
|
S3Configuration |
withBucketARN(String bucketARN)
ARN of the S3 bucket that contains the data.
|
S3Configuration |
withFileKey(String fileKey)
The name of the object that contains the data.
|
S3Configuration |
withRoleARN(String roleARN)
IAM ARN of the role used to access the data.
|
public void setRoleARN(String roleARN)
IAM ARN of the role used to access the data.
roleARN
- IAM ARN of the role used to access the data.public String getRoleARN()
IAM ARN of the role used to access the data.
public S3Configuration withRoleARN(String roleARN)
IAM ARN of the role used to access the data.
roleARN
- IAM ARN of the role used to access the data.public void setBucketARN(String bucketARN)
ARN of the S3 bucket that contains the data.
bucketARN
- ARN of the S3 bucket that contains the data.public String getBucketARN()
ARN of the S3 bucket that contains the data.
public S3Configuration withBucketARN(String bucketARN)
ARN of the S3 bucket that contains the data.
bucketARN
- ARN of the S3 bucket that contains the data.public void setFileKey(String fileKey)
The name of the object that contains the data.
fileKey
- The name of the object that contains the data.public String getFileKey()
The name of the object that contains the data.
public S3Configuration withFileKey(String fileKey)
The name of the object that contains the data.
fileKey
- The name of the object that contains the data.public String toString()
toString
in class Object
Object.toString()
public S3Configuration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.