Class DeliverToMailboxAction
- java.lang.Object
-
- software.amazon.awssdk.services.mailmanager.model.DeliverToMailboxAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeliverToMailboxAction.Builder,DeliverToMailboxAction>
@Generated("software.amazon.awssdk:codegen") public final class DeliverToMailboxAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeliverToMailboxAction.Builder,DeliverToMailboxAction>
This action to delivers an email to a mailbox.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeliverToMailboxAction.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 DeliverToMailboxAction.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmailboxArn()The Amazon Resource Name (ARN) of a WorkMail organization to deliver the email to.StringroleArn()The Amazon Resource Name (ARN) of an IAM role to use to execute this action.List<SdkField<?>>sdkFields()static Class<? extends DeliverToMailboxAction.Builder>serializableBuilderClass()DeliverToMailboxAction.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 mailbox ARN is no longer valid.
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 mailbox ARN is no longer valid.
- 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 mailbox ARN is no longer valid.
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 mailbox ARN is no longer valid.
- See Also:
ActionFailurePolicy
-
mailboxArn
public final String mailboxArn()
The Amazon Resource Name (ARN) of a WorkMail organization to deliver the email to.
- Returns:
- The Amazon Resource Name (ARN) of a WorkMail organization to deliver the email to.
-
roleArn
public final String roleArn()
The Amazon Resource Name (ARN) of an IAM role to use to execute this action. The role must have access to the workmail:DeliverToMailbox API.
- Returns:
- The Amazon Resource Name (ARN) of an IAM role to use to execute this action. The role must have access to the workmail:DeliverToMailbox API.
-
toBuilder
public DeliverToMailboxAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeliverToMailboxAction.Builder,DeliverToMailboxAction>
-
builder
public static DeliverToMailboxAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeliverToMailboxAction.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.
-
-