@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Config extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role used to access an Amazon S3 bucket.
For detailed information about using such a role, see Creating a Location for Amazon S3 in the DataSync User Guide.
Constructor and Description |
---|
S3Config() |
Modifier and Type | Method and Description |
---|---|
S3Config |
clone() |
boolean |
equals(Object obj) |
String |
getBucketAccessRoleArn()
The ARN of the IAM role for accessing the S3 bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketAccessRoleArn(String bucketAccessRoleArn)
The ARN of the IAM role for accessing the S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
S3Config |
withBucketAccessRoleArn(String bucketAccessRoleArn)
The ARN of the IAM role for accessing the S3 bucket.
|
public void setBucketAccessRoleArn(String bucketAccessRoleArn)
The ARN of the IAM role for accessing the S3 bucket.
bucketAccessRoleArn
- The ARN of the IAM role for accessing the S3 bucket.public String getBucketAccessRoleArn()
The ARN of the IAM role for accessing the S3 bucket.
public S3Config withBucketAccessRoleArn(String bucketAccessRoleArn)
The ARN of the IAM role for accessing the S3 bucket.
bucketAccessRoleArn
- The ARN of the IAM role for accessing the S3 bucket.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.