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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetSuppressedDestinationResponse.BuildersuppressedDestination(Consumer<SuppressedDestination.Builder> suppressedDestination)An object containing information about the suppressed email address.GetSuppressedDestinationResponse.BuildersuppressedDestination(SuppressedDestination suppressedDestination)An object containing information about the suppressed email address.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Response.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
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:
suppressedDestination(SuppressedDestination)
-
-