public class S3Action extends Object implements Serializable
Describes an action to write data to an Amazon S3 bucket.
| Constructor and Description |
|---|
S3Action() |
| Modifier and Type | Method and Description |
|---|---|
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 String getRoleArn()
public void setRoleArn(String roleArn)
roleArn - The ARN of the IAM role that grants access.public S3Action withRoleArn(String roleArn)
Returns a reference to this object so that method calls can be chained together.
roleArn - The ARN of the IAM role that grants access.public String getBucketName()
public void setBucketName(String bucketName)
bucketName - The Amazon S3 bucket.public S3Action withBucketName(String bucketName)
Returns a reference to this object so that method calls can be chained together.
bucketName - The Amazon S3 bucket.public String getKey()
public void setKey(String key)
key - The object key.public S3Action withKey(String key)
Returns a reference to this object so that method calls can be chained together.
key - The object key.public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.