Interface ListCampaignsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListCampaignsRequest.Builder,
,ListCampaignsRequest> PersonalizeRequest.Builder
,SdkBuilder<ListCampaignsRequest.Builder,
,ListCampaignsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListCampaignsRequest
public static interface ListCampaignsRequest.Builder
extends PersonalizeRequest.Builder, SdkPojo, CopyableBuilder<ListCampaignsRequest.Builder,ListCampaignsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of campaigns to return.A token returned from the previous call to ListCampaigns for getting the next set of campaigns (if they exist).overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.solutionArn
(String solutionArn) The Amazon Resource Name (ARN) of the solution to list the campaigns for.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeRequest.Builder
build
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
-
solutionArn
The Amazon Resource Name (ARN) of the solution to list the campaigns for. When a solution is not specified, all the campaigns associated with the account are listed.
- Parameters:
solutionArn
- The Amazon Resource Name (ARN) of the solution to list the campaigns for. When a solution is not specified, all the campaigns associated with the account are listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token returned from the previous call to ListCampaigns for getting the next set of campaigns (if they exist).
- Parameters:
nextToken
- A token returned from the previous call to ListCampaigns for getting the next set of campaigns (if they exist).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of campaigns to return.
- Parameters:
maxResults
- The maximum number of campaigns to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-