public class S3Action extends Object implements Serializable, Cloneable
Describes an action to write data to an Amazon S3 bucket.
Constructor and Description |
---|
S3Action() |
Modifier and Type | Method and Description |
---|---|
S3Action |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
The Amazon S3 bucket.
|
String |
getKey()
The object key.
|
String |
getRoleArn()
The ARN of the IAM role that grants access.
|
int |
hashCode() |
void |
setBucketName(String bucketName)
The Amazon S3 bucket.
|
void |
setKey(String key)
The object key.
|
void |
setRoleArn(String roleArn)
The ARN of the IAM role that grants access.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
S3Action |
withBucketName(String bucketName)
The Amazon S3 bucket.
|
S3Action |
withKey(String key)
The object key.
|
S3Action |
withRoleArn(String roleArn)
The ARN of the IAM role that grants access.
|
public void setRoleArn(String roleArn)
The ARN of the IAM role that grants access.
roleArn
- The ARN of the IAM role that grants access.public String getRoleArn()
The ARN of the IAM role that grants access.
public S3Action withRoleArn(String roleArn)
The ARN of the IAM role that grants access.
roleArn
- The ARN of the IAM role that grants access.public void setBucketName(String bucketName)
The Amazon S3 bucket.
bucketName
- The Amazon S3 bucket.public String getBucketName()
The Amazon S3 bucket.
public S3Action withBucketName(String bucketName)
The Amazon S3 bucket.
bucketName
- The Amazon S3 bucket.public void setKey(String key)
The object key.
key
- The object key.public String getKey()
The object key.
public S3Action withKey(String key)
The object key.
key
- The object key.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.