Interface GetSuppressedDestinationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetSuppressedDestinationResponse.Builder,
,GetSuppressedDestinationResponse> SdkBuilder<GetSuppressedDestinationResponse.Builder,
,GetSuppressedDestinationResponse> SdkPojo
,SdkResponse.Builder
,SesV2Response.Builder
- Enclosing class:
GetSuppressedDestinationResponse
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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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 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.Builder
avoiding the need to create one manually viaSuppressedDestination.builder()
.When the
Consumer
completes,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:
-