Class ArchiveAction
- java.lang.Object
-
- software.amazon.awssdk.services.mailmanager.model.ArchiveAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ArchiveAction.Builder,ArchiveAction>
@Generated("software.amazon.awssdk:codegen") public final class ArchiveAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ArchiveAction.Builder,ArchiveAction>
The action to archive the email by delivering the email to an Amazon SES archive.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceArchiveAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionFailurePolicyactionFailurePolicy()A policy that states what to do in the case of failure.StringactionFailurePolicyAsString()A policy that states what to do in the case of failure.static ArchiveAction.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ArchiveAction.Builder>serializableBuilderClass()StringtargetArchive()The identifier of the archive to send the email to.ArchiveAction.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
-
actionFailurePolicy
public final ActionFailurePolicy actionFailurePolicy()
A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified archive has been deleted.
If the service returns an enum value that is not available in the current SDK version,
actionFailurePolicywill returnActionFailurePolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionFailurePolicyAsString().- Returns:
- A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified archive has been deleted.
- See Also:
ActionFailurePolicy
-
actionFailurePolicyAsString
public final String actionFailurePolicyAsString()
A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified archive has been deleted.
If the service returns an enum value that is not available in the current SDK version,
actionFailurePolicywill returnActionFailurePolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionFailurePolicyAsString().- Returns:
- A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified archive has been deleted.
- See Also:
ActionFailurePolicy
-
targetArchive
public final String targetArchive()
The identifier of the archive to send the email to.
- Returns:
- The identifier of the archive to send the email to.
-
toBuilder
public ArchiveAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ArchiveAction.Builder,ArchiveAction>
-
builder
public static ArchiveAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends ArchiveAction.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.
-
-