Interface ListBuildsForProjectRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeBuildRequest.Builder
,CopyableBuilder<ListBuildsForProjectRequest.Builder,
,ListBuildsForProjectRequest> SdkBuilder<ListBuildsForProjectRequest.Builder,
,ListBuildsForProjectRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListBuildsForProjectRequest
-
Method Summary
Modifier and TypeMethodDescriptionDuring a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken.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 CodeBuild project.The order to sort the results in.sortOrder
(SortOrderType sortOrder) The order to sort the results in.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
-
projectName
The name of the CodeBuild project.
- Parameters:
projectName
- The name of the CodeBuild project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortOrder
The order to sort the results in. The results are sorted by build number, not the build identifier. If this is not specified, the results are sorted in descending order.
Valid values include:
-
ASCENDING
: List the build identifiers in ascending order, by build number. -
DESCENDING
: List the build identifiers in descending order, by build number.
If the project has more than 100 builds, setting the sort order will result in an error.
- Parameters:
sortOrder
- The order to sort the results in. The results are sorted by build number, not the build identifier. If this is not specified, the results are sorted in descending order.Valid values include:
-
ASCENDING
: List the build identifiers in ascending order, by build number. -
DESCENDING
: List the build identifiers in descending order, by build number.
If the project has more than 100 builds, setting the sort order will result in an error.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
sortOrder
The order to sort the results in. The results are sorted by build number, not the build identifier. If this is not specified, the results are sorted in descending order.
Valid values include:
-
ASCENDING
: List the build identifiers in ascending order, by build number. -
DESCENDING
: List the build identifiers in descending order, by build number.
If the project has more than 100 builds, setting the sort order will result in an error.
- Parameters:
sortOrder
- The order to sort the results in. The results are sorted by build number, not the build identifier. If this is not specified, the results are sorted in descending order.Valid values include:
-
ASCENDING
: List the build identifiers in ascending order, by build number. -
DESCENDING
: List the build identifiers in descending order, by build number.
If the project has more than 100 builds, setting the sort order will result in an error.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
nextToken
During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
- Parameters:
nextToken
- During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListBuildsForProjectRequest.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
ListBuildsForProjectRequest.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.
-