Interface ListCampaignsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectCampaignsResponse.Builder
,CopyableBuilder<ListCampaignsResponse.Builder,
,ListCampaignsResponse> SdkBuilder<ListCampaignsResponse.Builder,
,ListCampaignsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCampaignsResponse
@Mutable
@NotThreadSafe
public static interface ListCampaignsResponse.Builder
extends ConnectCampaignsResponse.Builder, SdkPojo, CopyableBuilder<ListCampaignsResponse.Builder,ListCampaignsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncampaignSummaryList
(Collection<CampaignSummary> campaignSummaryList) Sets the value of the CampaignSummaryList property for this object.campaignSummaryList
(Consumer<CampaignSummary.Builder>... campaignSummaryList) Sets the value of the CampaignSummaryList property for this object.campaignSummaryList
(CampaignSummary... campaignSummaryList) Sets the value of the CampaignSummaryList property for this object.Sets the value of the NextToken property for this object.Methods inherited from interface software.amazon.awssdk.services.connectcampaigns.model.ConnectCampaignsResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken
- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
campaignSummaryList
Sets the value of the CampaignSummaryList property for this object.- Parameters:
campaignSummaryList
- The new value for the CampaignSummaryList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
campaignSummaryList
Sets the value of the CampaignSummaryList property for this object.- Parameters:
campaignSummaryList
- The new value for the CampaignSummaryList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
campaignSummaryList
ListCampaignsResponse.Builder campaignSummaryList(Consumer<CampaignSummary.Builder>... campaignSummaryList) Sets the value of the CampaignSummaryList property for this object. This is a convenience method that creates an instance of theCampaignSummary.Builder
avoiding the need to create one manually viaCampaignSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocampaignSummaryList(List<CampaignSummary>)
.- Parameters:
campaignSummaryList
- a consumer that will call methods onCampaignSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-