@Generated(value="software.amazon.awssdk:codegen") public final class S3Action extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3Action.Builder,S3Action>
Describes an action to write data to an Amazon S3 bucket.
| Modifier and Type | Class and Description |
|---|---|
static interface |
S3Action.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
bucketName()
The Amazon S3 bucket.
|
static S3Action.Builder |
builder() |
CannedAccessControlList |
cannedAcl()
The Amazon S3 canned ACL that controls access to the object identified by the object key.
|
String |
cannedAclAsString()
The Amazon S3 canned ACL that controls access to the object identified by the object key.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The object key.
|
String |
roleArn()
The ARN of the IAM role that grants access.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3Action.Builder> |
serializableBuilderClass() |
S3Action.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String roleArn()
The ARN of the IAM role that grants access.
public final String bucketName()
The Amazon S3 bucket.
public final String key()
The object key. For more information, see Actions, resources, and condition keys for Amazon S3.
public final CannedAccessControlList cannedAcl()
The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see S3 canned ACLs.
If the service returns an enum value that is not available in the current SDK version, cannedAcl will
return CannedAccessControlList.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from cannedAclAsString().
CannedAccessControlListpublic final String cannedAclAsString()
The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see S3 canned ACLs.
If the service returns an enum value that is not available in the current SDK version, cannedAcl will
return CannedAccessControlList.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from cannedAclAsString().
CannedAccessControlListpublic S3Action.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<S3Action.Builder,S3Action>public static S3Action.Builder builder()
public static Class<? extends S3Action.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.