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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCampaignsResponse.BuildercampaignSummaryList(Collection<CampaignSummary> campaignSummaryList)Sets the value of the CampaignSummaryList property for this object.ListCampaignsResponse.BuildercampaignSummaryList(Consumer<CampaignSummary.Builder>... campaignSummaryList)Sets the value of the CampaignSummaryList property for this object.ListCampaignsResponse.BuildercampaignSummaryList(CampaignSummary... campaignSummaryList)Sets the value of the CampaignSummaryList property for this object.ListCampaignsResponse.BuildernextToken(String nextToken)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListCampaignsResponse.Builder nextToken(String 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
ListCampaignsResponse.Builder campaignSummaryList(Collection<CampaignSummary> 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(CampaignSummary... 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 to#campaignSummaryList(List.) - 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:
#campaignSummaryList(java.util.Collection)
-
-