Interface ListCampaignsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectCampaignsRequest.Builder
,CopyableBuilder<ListCampaignsRequest.Builder,
,ListCampaignsRequest> SdkBuilder<ListCampaignsRequest.Builder,
,ListCampaignsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListCampaignsRequest
public static interface ListCampaignsRequest.Builder
extends ConnectCampaignsRequest.Builder, SdkPojo, CopyableBuilder<ListCampaignsRequest.Builder,ListCampaignsRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListCampaignsRequest.Builder
filters
(Consumer<CampaignFilters.Builder> filters) Sets the value of the Filters property for this object.filters
(CampaignFilters filters) Sets the value of the Filters property for this object.maxResults
(Integer maxResults) Sets the value of the MaxResults property for this object.Sets the value of the NextToken property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.connectcampaigns.model.ConnectCampaignsRequest.Builder
build
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
-
Method Details
-
maxResults
Sets the value of the MaxResults property for this object.- Parameters:
maxResults
- The new value for the MaxResults property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
filters
Sets the value of the Filters property for this object.- Parameters:
filters
- The new value for the Filters property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Sets the value of the Filters property for this object. This is a convenience method that creates an instance of theCampaignFilters.Builder
avoiding the need to create one manually viaCampaignFilters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(CampaignFilters)
.- Parameters:
filters
- a consumer that will call methods onCampaignFilters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListCampaignsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListCampaignsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-