Class S3Reference
- java.lang.Object
-
- software.amazon.awssdk.services.workmailmessageflow.model.S3Reference
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3Reference.Builder,S3Reference>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceS3Reference.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbucket()The S3 bucket name.static S3Reference.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringkey()The S3 key object name.StringobjectVersion()If you enable versioning for the bucket, you can specify the object version.List<SdkField<?>>sdkFields()static Class<? extends S3Reference.Builder>serializableBuilderClass()S3Reference.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
bucket
public final String bucket()
The S3 bucket name.
- Returns:
- The S3 bucket name.
-
key
public final String key()
The S3 key object name.
- Returns:
- The S3 key object name.
-
objectVersion
public final String objectVersion()
If you enable versioning for the bucket, you can specify the object version.
- Returns:
- If you enable versioning for the bucket, you can specify the object version.
-
toBuilder
public S3Reference.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3Reference.Builder,S3Reference>
-
builder
public static S3Reference.Builder builder()
-
serializableBuilderClass
public static Class<? extends S3Reference.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-