Interface ListSharedProjectsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeBuildRequest.Builder,CopyableBuilder<ListSharedProjectsRequest.Builder,,ListSharedProjectsRequest> SdkBuilder<ListSharedProjectsRequest.Builder,,ListSharedProjectsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListSharedProjectsRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of paginated shared build projects returned per response.During a previous call, the maximum number of items that can be returned is the value specified inmaxResults.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The criterion to be used to list build projects shared with the current Amazon Web Services account or user.sortBy(SharedResourceSortByType sortBy) The criterion to be used to list build projects shared with the current Amazon Web Services account or user.The order in which to list shared build projects.sortOrder(SortOrderType sortOrder) The order in which to list shared build projects.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, sdkFields
-
Method Details
-
sortBy
The criterion to be used to list build projects shared with the current Amazon Web Services account or user. Valid values include:
-
ARN: List based on the ARN. -
MODIFIED_TIME: List based on when information about the shared project was last changed.
- Parameters:
sortBy- The criterion to be used to list build projects shared with the current Amazon Web Services account or user. Valid values include:-
ARN: List based on the ARN. -
MODIFIED_TIME: List based on when information about the shared project was last changed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
sortOrder
The order in which to list shared build projects. Valid values include:
-
ASCENDING: List in ascending order. -
DESCENDING: List in descending order.
- Parameters:
sortOrder- The order in which to list shared build projects. Valid values include:-
ASCENDING: List in ascending order. -
DESCENDING: List in descending order.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
sortOrder
The order in which to list shared build projects. Valid values include:
-
ASCENDING: List in ascending order. -
DESCENDING: List in descending order.
- Parameters:
sortOrder- The order in which to list shared build projects. Valid values include:-
ASCENDING: List in ascending order. -
DESCENDING: List in descending order.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
maxResults
The maximum number of paginated shared build projects returned per response. Use
nextTokento iterate pages in the list of returnedProjectobjects. The default value is 100.- Parameters:
maxResults- The maximum number of paginated shared build projects returned per response. UsenextTokento iterate pages in the list of returnedProjectobjects. The default value is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
During a previous call, the maximum number of items that can be returned is the value specified in
maxResults. If there more items in the list, then a unique string called a nextToken is returned. 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, the maximum number of items that can be returned is the value specified inmaxResults. If there more items in the list, then a unique string called a nextToken is returned. 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
ListSharedProjectsRequest.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
ListSharedProjectsRequest.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.
-