Interface ListBuildBatchesForProjectRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeBuildRequest.Builder,CopyableBuilder<ListBuildBatchesForProjectRequest.Builder,,ListBuildBatchesForProjectRequest> SdkBuilder<ListBuildBatchesForProjectRequest.Builder,,ListBuildBatchesForProjectRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListBuildBatchesForProjectRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilter(Consumer<BuildBatchFilter.Builder> filter) ABuildBatchFilterobject that specifies the filters for the search.filter(BuildBatchFilter filter) ABuildBatchFilterobject that specifies the filters for the search.maxResults(Integer maxResults) The maximum number of results to return.ThenextTokenvalue returned from a previous call toListBuildBatchesForProject.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.projectName(String projectName) The name of the project.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codebuild.model.CodeBuildRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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:
-
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
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) 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
ListBuildBatchesForProjectRequest.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.
-