Class PutSuppressedDestinationRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutSuppressedDestinationRequest.Builder,PutSuppressedDestinationRequest>
A request to add an email destination to the suppression list for your account or for a specific tenant.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe email address that should be added to the suppression list for your account or for the specified tenant.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final SuppressionListReasonreason()The factors that should cause the email address to be added to the suppression list for your account or for the specified tenant.final StringThe factors that should cause the email address to be added to the suppression list for your account or for the specified tenant.static Class<? extends PutSuppressedDestinationRequest.Builder>final StringThe name of the tenant whose suppression list you want to add the address to.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
emailAddress
The email address that should be added to the suppression list for your account or for the specified tenant.
- Returns:
- The email address that should be added to the suppression list for your account or for the specified tenant.
-
reason
The factors that should cause the email address to be added to the suppression list for your account or for the specified tenant.
If the service returns an enum value that is not available in the current SDK version,
reasonwill returnSuppressionListReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonAsString().- Returns:
- The factors that should cause the email address to be added to the suppression list for your account or for the specified tenant.
- See Also:
-
reasonAsString
The factors that should cause the email address to be added to the suppression list for your account or for the specified tenant.
If the service returns an enum value that is not available in the current SDK version,
reasonwill returnSuppressionListReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonAsString().- Returns:
- The factors that should cause the email address to be added to the suppression list for your account or for the specified tenant.
- See Also:
-
tenantName
The name of the tenant whose suppression list you want to add the address to. If you omit this parameter, the address is added to the account-level suppression list.
- Returns:
- The name of the tenant whose suppression list you want to add the address to. If you omit this parameter, the address is added to the account-level suppression list.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutSuppressedDestinationRequest.Builder,PutSuppressedDestinationRequest> - Specified by:
toBuilderin classSesV2Request
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-