Interface ListSuppressedDestinationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSuppressedDestinationsResponse.Builder,,ListSuppressedDestinationsResponse> SdkBuilder<ListSuppressedDestinationsResponse.Builder,,ListSuppressedDestinationsResponse> SdkPojo,SdkResponse.Builder,SesV2Response.Builder
- Enclosing class:
ListSuppressedDestinationsResponse
public static interface ListSuppressedDestinationsResponse.Builder
extends SesV2Response.Builder, SdkPojo, CopyableBuilder<ListSuppressedDestinationsResponse.Builder,ListSuppressedDestinationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token that indicates that there are additional email addresses on the suppression list for your account.suppressedDestinationSummaries(Collection<SuppressedDestinationSummary> suppressedDestinationSummaries) A list of summaries, each containing a summary for a suppressed email destination.suppressedDestinationSummaries(Consumer<SuppressedDestinationSummary.Builder>... suppressedDestinationSummaries) A list of summaries, each containing a summary for a suppressed email destination.suppressedDestinationSummaries(SuppressedDestinationSummary... suppressedDestinationSummaries) A list of summaries, each containing a summary for a suppressed email destination.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, 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
-
suppressedDestinationSummaries
ListSuppressedDestinationsResponse.Builder suppressedDestinationSummaries(Collection<SuppressedDestinationSummary> suppressedDestinationSummaries) A list of summaries, each containing a summary for a suppressed email destination.
- Parameters:
suppressedDestinationSummaries- A list of summaries, each containing a summary for a suppressed email destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suppressedDestinationSummaries
ListSuppressedDestinationsResponse.Builder suppressedDestinationSummaries(SuppressedDestinationSummary... suppressedDestinationSummaries) A list of summaries, each containing a summary for a suppressed email destination.
- Parameters:
suppressedDestinationSummaries- A list of summaries, each containing a summary for a suppressed email destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suppressedDestinationSummaries
ListSuppressedDestinationsResponse.Builder suppressedDestinationSummaries(Consumer<SuppressedDestinationSummary.Builder>... suppressedDestinationSummaries) A list of summaries, each containing a summary for a suppressed email destination.
This is a convenience method that creates an instance of theSuppressedDestinationSummary.Builderavoiding the need to create one manually viaSuppressedDestinationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuppressedDestinationSummaries(List<SuppressedDestinationSummary>).- Parameters:
suppressedDestinationSummaries- a consumer that will call methods onSuppressedDestinationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates that there are additional email addresses on the suppression list for your account. To view additional suppressed addresses, issue another request to
ListSuppressedDestinations, and pass this token in theNextTokenparameter.- Parameters:
nextToken- A token that indicates that there are additional email addresses on the suppression list for your account. To view additional suppressed addresses, issue another request toListSuppressedDestinations, and pass this token in theNextTokenparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-