Interface ListDomainDeliverabilityCampaignsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDomainDeliverabilityCampaignsResponse.Builder,
,ListDomainDeliverabilityCampaignsResponse> PinpointEmailResponse.Builder
,SdkBuilder<ListDomainDeliverabilityCampaignsResponse.Builder,
,ListDomainDeliverabilityCampaignsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDomainDeliverabilityCampaignsResponse
public static interface ListDomainDeliverabilityCampaignsResponse.Builder
extends PinpointEmailResponse.Builder, SdkPojo, CopyableBuilder<ListDomainDeliverabilityCampaignsResponse.Builder,ListDomainDeliverabilityCampaignsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondomainDeliverabilityCampaigns
(Collection<DomainDeliverabilityCampaign> domainDeliverabilityCampaigns) An array of responses, one for each campaign that used the domain to send email during the specified time range.domainDeliverabilityCampaigns
(Consumer<DomainDeliverabilityCampaign.Builder>... domainDeliverabilityCampaigns) An array of responses, one for each campaign that used the domain to send email during the specified time range.domainDeliverabilityCampaigns
(DomainDeliverabilityCampaign... domainDeliverabilityCampaigns) An array of responses, one for each campaign that used the domain to send email during the specified time range.A token that’s returned from a previous call to theListDomainDeliverabilityCampaigns
operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pinpointemail.model.PinpointEmailResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
domainDeliverabilityCampaigns
ListDomainDeliverabilityCampaignsResponse.Builder domainDeliverabilityCampaigns(Collection<DomainDeliverabilityCampaign> domainDeliverabilityCampaigns) An array of responses, one for each campaign that used the domain to send email during the specified time range.
- Parameters:
domainDeliverabilityCampaigns
- An array of responses, one for each campaign that used the domain to send email during the specified time range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainDeliverabilityCampaigns
ListDomainDeliverabilityCampaignsResponse.Builder domainDeliverabilityCampaigns(DomainDeliverabilityCampaign... domainDeliverabilityCampaigns) An array of responses, one for each campaign that used the domain to send email during the specified time range.
- Parameters:
domainDeliverabilityCampaigns
- An array of responses, one for each campaign that used the domain to send email during the specified time range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainDeliverabilityCampaigns
ListDomainDeliverabilityCampaignsResponse.Builder domainDeliverabilityCampaigns(Consumer<DomainDeliverabilityCampaign.Builder>... domainDeliverabilityCampaigns) An array of responses, one for each campaign that used the domain to send email during the specified time range.
This is a convenience method that creates an instance of theDomainDeliverabilityCampaign.Builder
avoiding the need to create one manually viaDomainDeliverabilityCampaign.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todomainDeliverabilityCampaigns(List<DomainDeliverabilityCampaign>)
.- Parameters:
domainDeliverabilityCampaigns
- a consumer that will call methods onDomainDeliverabilityCampaign.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that’s returned from a previous call to the
ListDomainDeliverabilityCampaigns
operation. This token indicates the position of the campaign in the list of campaigns.- Parameters:
nextToken
- A token that’s returned from a previous call to theListDomainDeliverabilityCampaigns
operation. This token indicates the position of the campaign in the list of campaigns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-