Interface SuppressedDestination.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SuppressedDestination.Builder,SuppressedDestination>,SdkBuilder<SuppressedDestination.Builder,SuppressedDestination>,SdkPojo
- Enclosing class:
- SuppressedDestination
public static interface SuppressedDestination.Builder extends SdkPojo, CopyableBuilder<SuppressedDestination.Builder,SuppressedDestination>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SuppressedDestination.Builderattributes(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.SuppressedDestination.Builderattributes(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.SuppressedDestination.BuilderemailAddress(String emailAddress)The email address that is on the suppression list for your account.SuppressedDestination.BuilderlastUpdateTime(Instant lastUpdateTime)The date and time when the suppressed destination was last updated, shown in Unix time format.SuppressedDestination.Builderreason(String reason)The reason that the address was added to the suppression list for your account.SuppressedDestination.Builderreason(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 Detail
-
emailAddress
SuppressedDestination.Builder emailAddress(String 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
SuppressedDestination.Builder reason(String 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:
SuppressionListReason,SuppressionListReason
-
reason
SuppressedDestination.Builder reason(SuppressionListReason 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:
SuppressionListReason,SuppressionListReason
-
lastUpdateTime
SuppressedDestination.Builder lastUpdateTime(Instant 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
SuppressedDestination.Builder 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.
- 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.Builderavoiding the need to create one manually viaSuppressedDestinationAttributes.builder().When the
Consumercompletes,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:
attributes(SuppressedDestinationAttributes)
-
-