Interface GetSuppressedDestinationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSuppressedDestinationResponse.Builder,,GetSuppressedDestinationResponse> SdkBuilder<GetSuppressedDestinationResponse.Builder,,GetSuppressedDestinationResponse> SdkPojo,SdkResponse.Builder,SesV2Response.Builder
- Enclosing class:
GetSuppressedDestinationResponse
@Mutable
@NotThreadSafe
public static interface GetSuppressedDestinationResponse.Builder
extends SesV2Response.Builder, SdkPojo, CopyableBuilder<GetSuppressedDestinationResponse.Builder,GetSuppressedDestinationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsuppressedDestination(Consumer<SuppressedDestination.Builder> suppressedDestination) An object containing information about the suppressed email address.suppressedDestination(SuppressedDestination suppressedDestination) An object containing information about the suppressed email address.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Response.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
suppressedDestination
GetSuppressedDestinationResponse.Builder suppressedDestination(SuppressedDestination suppressedDestination) An object containing information about the suppressed email address.
- Parameters:
suppressedDestination- An object containing information about the suppressed email address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suppressedDestination
default GetSuppressedDestinationResponse.Builder suppressedDestination(Consumer<SuppressedDestination.Builder> suppressedDestination) An object containing information about the suppressed email address.
This is a convenience method that creates an instance of theSuppressedDestination.Builderavoiding the need to create one manually viaSuppressedDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuppressedDestination(SuppressedDestination).- Parameters:
suppressedDestination- a consumer that will call methods onSuppressedDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-