Interface ListCampaignsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectCampaignsResponse.Builder,CopyableBuilder<ListCampaignsResponse.Builder,,ListCampaignsResponse> SdkBuilder<ListCampaignsResponse.Builder,,ListCampaignsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCampaignsResponse
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, responseMetadataMethods 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, 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.Builderavoiding the need to create one manually viaCampaignSummary.builder().When the
Consumercompletes,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:
-