Interface CampaignsResponse.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CampaignsResponse.Builder,,CampaignsResponse> SdkBuilder<CampaignsResponse.Builder,,CampaignsResponse> SdkPojo
- Enclosing class:
CampaignsResponse
public static interface CampaignsResponse.Builder
extends SdkPojo, CopyableBuilder<CampaignsResponse.Builder,CampaignsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitem(Collection<CampaignResponse> item) An array of responses, one for each campaign that's associated with the application.item(Consumer<CampaignResponse.Builder>... item) An array of responses, one for each campaign that's associated with the application.item(CampaignResponse... item) An array of responses, one for each campaign that's associated with the application.The string to use in a subsequent request to get the next page of results in a paginated response.Methods 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, sdkFields
-
Method Details
-
item
An array of responses, one for each campaign that's associated with the application.
- Parameters:
item- An array of responses, one for each campaign that's associated with the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
item
An array of responses, one for each campaign that's associated with the application.
- Parameters:
item- An array of responses, one for each campaign that's associated with the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
item
An array of responses, one for each campaign that's associated with the application.
This is a convenience method that creates an instance of theCampaignResponse.Builderavoiding the need to create one manually viaCampaignResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitem(List<CampaignResponse>).- Parameters:
item- a consumer that will call methods onCampaignResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
- Parameters:
nextToken- The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-