Interface ListBuildBatchesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeBuildRequest.Builder
,CopyableBuilder<ListBuildBatchesRequest.Builder,
,ListBuildBatchesRequest> SdkBuilder<ListBuildBatchesRequest.Builder,
,ListBuildBatchesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListBuildBatchesRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListBuildBatchesRequest.Builder
filter
(Consumer<BuildBatchFilter.Builder> filter) ABuildBatchFilter
object that specifies the filters for the search.filter
(BuildBatchFilter filter) ABuildBatchFilter
object that specifies the filters for the search.maxResults
(Integer maxResults) The maximum number of results to return.ThenextToken
value returned from a previous call toListBuildBatches
.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Specifies the sort order of the returned items.sortOrder
(SortOrderType sortOrder) Specifies the sort order of the returned items.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codebuild.model.CodeBuildRequest.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
-
filter
A
BuildBatchFilter
object that specifies the filters for the search.- Parameters:
filter
- ABuildBatchFilter
object that specifies the filters for the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
A
This is a convenience method that creates an instance of theBuildBatchFilter
object that specifies the filters for the search.BuildBatchFilter.Builder
avoiding the need to create one manually viaBuildBatchFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilter(BuildBatchFilter)
.- Parameters:
filter
- a consumer that will call methods onBuildBatchFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of results to return.
- Parameters:
maxResults
- The maximum number of results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortOrder
Specifies the sort order of the returned items. Valid values include:
-
ASCENDING
: List the batch build identifiers in ascending order by identifier. -
DESCENDING
: List the batch build identifiers in descending order by identifier.
- Parameters:
sortOrder
- Specifies the sort order of the returned items. Valid values include:-
ASCENDING
: List the batch build identifiers in ascending order by identifier. -
DESCENDING
: List the batch build identifiers in descending order by identifier.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
sortOrder
Specifies the sort order of the returned items. Valid values include:
-
ASCENDING
: List the batch build identifiers in ascending order by identifier. -
DESCENDING
: List the batch build identifiers in descending order by identifier.
- Parameters:
sortOrder
- Specifies the sort order of the returned items. Valid values include:-
ASCENDING
: List the batch build identifiers in ascending order by identifier. -
DESCENDING
: List the batch build identifiers in descending order by identifier.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
nextToken
The
nextToken
value returned from a previous call toListBuildBatches
. This specifies the next item to return. To return the beginning of the list, exclude this parameter.- Parameters:
nextToken
- ThenextToken
value returned from a previous call toListBuildBatches
. This specifies the next item to return. To return the beginning of the list, exclude this parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListBuildBatchesRequest.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
ListBuildBatchesRequest.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.
-