@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Config extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that DataSync uses to access your S3 bucket.
For more information, see Accessing S3 buckets.
Constructor and Description |
---|
S3Config() |
Modifier and Type | Method and Description |
---|---|
S3Config |
clone() |
boolean |
equals(Object obj) |
String |
getBucketAccessRoleArn()
Specifies the ARN of the IAM role that DataSync uses to access your S3 bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketAccessRoleArn(String bucketAccessRoleArn)
Specifies the ARN of the IAM role that DataSync uses to access your S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
S3Config |
withBucketAccessRoleArn(String bucketAccessRoleArn)
Specifies the ARN of the IAM role that DataSync uses to access your S3 bucket.
|
public void setBucketAccessRoleArn(String bucketAccessRoleArn)
Specifies the ARN of the IAM role that DataSync uses to access your S3 bucket.
bucketAccessRoleArn
- Specifies the ARN of the IAM role that DataSync uses to access your S3 bucket.public String getBucketAccessRoleArn()
Specifies the ARN of the IAM role that DataSync uses to access your S3 bucket.
public S3Config withBucketAccessRoleArn(String bucketAccessRoleArn)
Specifies the ARN of the IAM role that DataSync uses to access your S3 bucket.
bucketAccessRoleArn
- Specifies the ARN of the IAM role that DataSync uses to access your 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.