Class SendAction
- java.lang.Object
-
- software.amazon.awssdk.services.mailmanager.model.SendAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SendAction.Builder,SendAction>
@Generated("software.amazon.awssdk:codegen") public final class SendAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SendAction.Builder,SendAction>
Sends the email to the internet using the ses:SendRawEmail API.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSendAction.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 SendAction.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringroleArn()The Amazon Resource Name (ARN) of the role to use for this action.List<SdkField<?>>sdkFields()static Class<? extends SendAction.Builder>serializableBuilderClass()SendAction.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 caller does not have the permissions to call the sendRawEmail API.
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 caller does not have the permissions to call the sendRawEmail API.
- 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 caller does not have the permissions to call the sendRawEmail API.
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 caller does not have the permissions to call the sendRawEmail API.
- See Also:
ActionFailurePolicy
-
roleArn
public final String roleArn()
The Amazon Resource Name (ARN) of the role to use for this action. This role must have access to the ses:SendRawEmail API.
- Returns:
- The Amazon Resource Name (ARN) of the role to use for this action. This role must have access to the ses:SendRawEmail API.
-
toBuilder
public SendAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SendAction.Builder,SendAction>
-
builder
public static SendAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends SendAction.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.
-
-