Interface ListBuildBatchesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeBuildRequest.Builder,CopyableBuilder<ListBuildBatchesRequest.Builder,ListBuildBatchesRequest>,SdkBuilder<ListBuildBatchesRequest.Builder,ListBuildBatchesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListBuildBatchesRequest
public static interface ListBuildBatchesRequest.Builder extends CodeBuildRequest.Builder, SdkPojo, CopyableBuilder<ListBuildBatchesRequest.Builder,ListBuildBatchesRequest>
-
-
Method Summary
-
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 Detail
-
filter
ListBuildBatchesRequest.Builder filter(BuildBatchFilter filter)
A
BuildBatchFilterobject that specifies the filters for the search.- Parameters:
filter- ABuildBatchFilterobject that specifies the filters for the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
default ListBuildBatchesRequest.Builder filter(Consumer<BuildBatchFilter.Builder> filter)
A
This is a convenience method that creates an instance of theBuildBatchFilterobject that specifies the filters for the search.BuildBatchFilter.Builderavoiding the need to create one manually viaBuildBatchFilter.builder().When the
Consumercompletes,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:
filter(BuildBatchFilter)
-
maxResults
ListBuildBatchesRequest.Builder maxResults(Integer 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
ListBuildBatchesRequest.Builder sortOrder(String 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:
SortOrderType,SortOrderType
-
-
sortOrder
ListBuildBatchesRequest.Builder sortOrder(SortOrderType 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:
SortOrderType,SortOrderType
-
-
nextToken
ListBuildBatchesRequest.Builder nextToken(String nextToken)
The
nextTokenvalue 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- ThenextTokenvalue 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListBuildBatchesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-