Interface ListBuildsForProjectRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeBuildRequest.Builder,CopyableBuilder<ListBuildsForProjectRequest.Builder,ListBuildsForProjectRequest>,SdkBuilder<ListBuildsForProjectRequest.Builder,ListBuildsForProjectRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListBuildsForProjectRequest
public static interface ListBuildsForProjectRequest.Builder extends CodeBuildRequest.Builder, SdkPojo, CopyableBuilder<ListBuildsForProjectRequest.Builder,ListBuildsForProjectRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBuildsForProjectRequest.BuildernextToken(String 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.ListBuildsForProjectRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListBuildsForProjectRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListBuildsForProjectRequest.BuilderprojectName(String projectName)The name of the CodeBuild project.ListBuildsForProjectRequest.BuildersortOrder(String sortOrder)The order to sort the results in.ListBuildsForProjectRequest.BuildersortOrder(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 Detail
-
projectName
ListBuildsForProjectRequest.Builder projectName(String 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
ListBuildsForProjectRequest.Builder sortOrder(String 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:
SortOrderType,SortOrderType
-
-
sortOrder
ListBuildsForProjectRequest.Builder sortOrder(SortOrderType 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:
SortOrderType,SortOrderType
-
-
nextToken
ListBuildsForProjectRequest.Builder nextToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListBuildsForProjectRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-