StructuredPojo
, ToCopyableBuilder<S3Action.Builder,S3Action>
@Generated("software.amazon.awssdk:codegen") public class S3Action extends Object implements StructuredPojo, ToCopyableBuilder<S3Action.Builder,S3Action>
Describes an action to write data to an Amazon S3 bucket.
Modifier and Type | Class | Description |
---|---|---|
static interface |
S3Action.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
bucketName() |
The Amazon S3 bucket.
|
static S3Action.Builder |
builder() |
|
String |
cannedAcl() |
The Amazon S3 canned ACL that controls access to the object identified by the object key.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
key() |
The object key.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
roleArn() |
The ARN of the IAM role that grants access.
|
static Class<? extends S3Action.Builder> |
serializableBuilderClass() |
|
S3Action.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String roleArn()
The ARN of the IAM role that grants access.
public String bucketName()
The Amazon S3 bucket.
public String key()
The object key.
public String cannedAcl()
The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see S3 canned ACLs.
CannedAccessControlList
public S3Action.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<S3Action.Builder,S3Action>
public static S3Action.Builder builder()
public static Class<? extends S3Action.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.