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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSuppressedDestinationsResponse.BuildernextToken(String nextToken)A token that indicates that there are additional email addresses on the suppression list for your account.ListSuppressedDestinationsResponse.BuildersuppressedDestinationSummaries(Collection<SuppressedDestinationSummary> suppressedDestinationSummaries)A list of summaries, each containing a summary for a suppressed email destination.ListSuppressedDestinationsResponse.BuildersuppressedDestinationSummaries(Consumer<SuppressedDestinationSummary.Builder>... suppressedDestinationSummaries)A list of summaries, each containing a summary for a suppressed email destination.ListSuppressedDestinationsResponse.BuildersuppressedDestinationSummaries(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
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
-
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 to#suppressedDestinationSummaries(List.) - 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:
#suppressedDestinationSummaries(java.util.Collection)
-
nextToken
ListSuppressedDestinationsResponse.Builder nextToken(String 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.
-
-