@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 AWS Identity and Access Management (IAM) role that is used to access an Amazon S3 bucket.
For detailed information about using such a role, see Creating a Location for Amazon S3 in the AWS DataSync User Guide.
Constructor and Description |
---|
S3Config() |
Modifier and Type | Method and Description |
---|---|
S3Config |
clone() |
boolean |
equals(Object obj) |
String |
getBucketAccessRoleArn()
The Amazon S3 bucket to access.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketAccessRoleArn(String bucketAccessRoleArn)
The Amazon S3 bucket to access.
|
String |
toString()
Returns a string representation of this object.
|
S3Config |
withBucketAccessRoleArn(String bucketAccessRoleArn)
The Amazon S3 bucket to access.
|
public void setBucketAccessRoleArn(String bucketAccessRoleArn)
The Amazon S3 bucket to access. This bucket is used as a parameter in the CreateLocationS3 operation.
bucketAccessRoleArn
- The Amazon S3 bucket to access. This bucket is used as a parameter in the CreateLocationS3
operation.public String getBucketAccessRoleArn()
The Amazon S3 bucket to access. This bucket is used as a parameter in the CreateLocationS3 operation.
public S3Config withBucketAccessRoleArn(String bucketAccessRoleArn)
The Amazon S3 bucket to access. This bucket is used as a parameter in the CreateLocationS3 operation.
bucketAccessRoleArn
- The Amazon S3 bucket to access. This bucket is used as a parameter in the CreateLocationS3
operation.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.