Interface SuppressedDestination.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SuppressedDestination.Builder,
,SuppressedDestination> SdkBuilder<SuppressedDestination.Builder,
,SuppressedDestination> SdkPojo
- Enclosing class:
SuppressedDestination
-
Method Summary
Modifier and TypeMethodDescriptiondefault SuppressedDestination.Builder
attributes
(Consumer<SuppressedDestinationAttributes.Builder> attributes) An optional value that can contain additional information about the reasons that the address was added to the suppression list for your account.attributes
(SuppressedDestinationAttributes attributes) An optional value that can contain additional information about the reasons that the address was added to the suppression list for your account.emailAddress
(String emailAddress) The email address that is on the suppression list for your account.lastUpdateTime
(Instant lastUpdateTime) The date and time when the suppressed destination was last updated, shown in Unix time format.The reason that the address was added to the suppression list for your account.reason
(SuppressionListReason reason) The reason that the address was added to the suppression list for your account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
emailAddress
The email address that is on the suppression list for your account.
- Parameters:
emailAddress
- The email address that is on the suppression list for your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
The reason that the address was added to the suppression list for your account.
- Parameters:
reason
- The reason that the address was added to the suppression list for your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reason
The reason that the address was added to the suppression list for your account.
- Parameters:
reason
- The reason that the address was added to the suppression list for your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdateTime
The date and time when the suppressed destination was last updated, shown in Unix time format.
- Parameters:
lastUpdateTime
- The date and time when the suppressed destination was last updated, shown in Unix time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
An optional value that can contain additional information about the reasons that the address was added to the suppression list for your account.
- Parameters:
attributes
- An optional value that can contain additional information about the reasons that the address was added to the suppression list for your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
default SuppressedDestination.Builder attributes(Consumer<SuppressedDestinationAttributes.Builder> attributes) An optional value that can contain additional information about the reasons that the address was added to the suppression list for your account.
This is a convenience method that creates an instance of theSuppressedDestinationAttributes.Builder
avoiding the need to create one manually viaSuppressedDestinationAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(SuppressedDestinationAttributes)
.- Parameters:
attributes
- a consumer that will call methods onSuppressedDestinationAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-