Interface SuppressedDestination.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SuppressedDestination.Builder,,SuppressedDestination> SdkBuilder<SuppressedDestination.Builder,,SuppressedDestination> SdkPojo
- Enclosing class:
SuppressedDestination
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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 or for a specific tenant.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 or for a specific tenant.emailAddress(String emailAddress) The email address that is on the suppression list for your account or for a specific tenant.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 or for a specific tenant.reason(SuppressionListReason reason) The reason that the address was added to the suppression list for your account or for a specific tenant.tenantName(String tenantName) The name of the tenant that the suppressed destination belongs to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
emailAddress
The email address that is on the suppression list for your account or for a specific tenant.
- Parameters:
emailAddress- The email address that is on the suppression list for your account or for a specific tenant.- 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 or for a specific tenant.
- Parameters:
reason- The reason that the address was added to the suppression list for your account or for a specific tenant.- 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 or for a specific tenant.
- Parameters:
reason- The reason that the address was added to the suppression list for your account or for a specific tenant.- 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 or for a specific tenant.
- 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 or for a specific tenant.- 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 or for a specific tenant.
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:
-
tenantName
The name of the tenant that the suppressed destination belongs to. This field is present only when the suppressed destination is on a tenant's suppression list.
- Parameters:
tenantName- The name of the tenant that the suppressed destination belongs to. This field is present only when the suppressed destination is on a tenant's suppression list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-