@Generated(value="software.amazon.awssdk:codegen") public final class S3Reference extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3Reference.Builder,S3Reference>
Amazon S3 object representing the updated message content, in MIME format.
The region for the S3 bucket containing the S3 object must match the region used for WorkMail operations. Also, for WorkMail to process an S3 object, it must have permission to access that object. For more information, see Updating message content with AWS Lambda.
| Modifier and Type | Class and Description |
|---|---|
static interface |
S3Reference.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
bucket()
The S3 bucket name.
|
static S3Reference.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The S3 key object name.
|
String |
objectVersion()
If you enable versioning for the bucket, you can specify the object version.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3Reference.Builder> |
serializableBuilderClass() |
S3Reference.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String bucket()
The S3 bucket name.
public final String key()
The S3 key object name.
public final String objectVersion()
If you enable versioning for the bucket, you can specify the object version.
public S3Reference.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<S3Reference.Builder,S3Reference>public static S3Reference.Builder builder()
public static Class<? extends S3Reference.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.