Interface ListBuildBatchesForProjectRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeBuildRequest.Builder,CopyableBuilder<ListBuildBatchesForProjectRequest.Builder,ListBuildBatchesForProjectRequest>,SdkBuilder<ListBuildBatchesForProjectRequest.Builder,ListBuildBatchesForProjectRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListBuildBatchesForProjectRequest
public static interface ListBuildBatchesForProjectRequest.Builder extends CodeBuildRequest.Builder, SdkPojo, CopyableBuilder<ListBuildBatchesForProjectRequest.Builder,ListBuildBatchesForProjectRequest>
-
-
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
-
projectName
ListBuildBatchesForProjectRequest.Builder projectName(String projectName)
The name of the project.
- Parameters:
projectName- The name of the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
ListBuildBatchesForProjectRequest.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 ListBuildBatchesForProjectRequest.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
ListBuildBatchesForProjectRequest.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
ListBuildBatchesForProjectRequest.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
ListBuildBatchesForProjectRequest.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
ListBuildBatchesForProjectRequest.Builder nextToken(String nextToken)
The
nextTokenvalue returned from a previous call toListBuildBatchesForProject. 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 toListBuildBatchesForProject. 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
ListBuildBatchesForProjectRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListBuildBatchesForProjectRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-