Interface ListCampaignsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCampaignsResponse.Builder,,ListCampaignsResponse> IoTFleetWiseResponse.Builder,SdkBuilder<ListCampaignsResponse.Builder,,ListCampaignsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCampaignsResponse
@Mutable
@NotThreadSafe
public static interface ListCampaignsResponse.Builder
extends IoTFleetWiseResponse.Builder, SdkPojo, CopyableBuilder<ListCampaignsResponse.Builder,ListCampaignsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncampaignSummaries(Collection<CampaignSummary> campaignSummaries) A summary of information about each campaign.campaignSummaries(Consumer<CampaignSummary.Builder>... campaignSummaries) A summary of information about each campaign.campaignSummaries(CampaignSummary... campaignSummaries) A summary of information about each campaign.The token to retrieve the next set of results, ornullif there are no more results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotfleetwise.model.IoTFleetWiseResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
campaignSummaries
A summary of information about each campaign.
- Parameters:
campaignSummaries- A summary of information about each campaign.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
campaignSummaries
A summary of information about each campaign.
- Parameters:
campaignSummaries- A summary of information about each campaign.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
campaignSummaries
ListCampaignsResponse.Builder campaignSummaries(Consumer<CampaignSummary.Builder>... campaignSummaries) A summary of information about each campaign.
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 tocampaignSummaries(List<CampaignSummary>).- Parameters:
campaignSummaries- 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:
-
nextToken
The token to retrieve the next set of results, or
nullif there are no more results.- Parameters:
nextToken- The token to retrieve the next set of results, ornullif there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-