Interface ListCampaignsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListCampaignsRequest.Builder,,ListCampaignsRequest> IoTFleetWiseRequest.Builder,SdkBuilder<ListCampaignsRequest.Builder,,ListCampaignsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListCampaignsRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of items to return, between 1 and 100, inclusive.A pagination token for the next set of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Optional parameter to filter the results by the status of each created campaign in your account.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotfleetwise.model.IoTFleetWiseRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
nextToken
A pagination token for the next set of results.
If the results of a search are large, only a portion of the results are returned, and a
nextTokenpagination token is returned in the response. To retrieve the next set of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.- Parameters:
nextToken- A pagination token for the next set of results.If the results of a search are large, only a portion of the results are returned, and a
nextTokenpagination token is returned in the response. To retrieve the next set of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of items to return, between 1 and 100, inclusive.
- Parameters:
maxResults- The maximum number of items to return, between 1 and 100, inclusive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Optional parameter to filter the results by the status of each created campaign in your account. The status can be one of:
CREATING,WAITING_FOR_APPROVAL,RUNNING, orSUSPENDED.- Parameters:
status- Optional parameter to filter the results by the status of each created campaign in your account. The status can be one of:CREATING,WAITING_FOR_APPROVAL,RUNNING, orSUSPENDED.- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-