Interface ListCodeReviewsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeGuruReviewerRequest.Builder
,CopyableBuilder<ListCodeReviewsRequest.Builder,
,ListCodeReviewsRequest> SdkBuilder<ListCodeReviewsRequest.Builder,
,ListCodeReviewsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListCodeReviewsRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of results that are returned per call.IfnextToken
is returned, there are more results available.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.providerTypes
(Collection<ProviderType> providerTypes) List of provider types for filtering that needs to be applied before displaying the result.providerTypes
(ProviderType... providerTypes) List of provider types for filtering that needs to be applied before displaying the result.providerTypesWithStrings
(String... providerTypes) List of provider types for filtering that needs to be applied before displaying the result.providerTypesWithStrings
(Collection<String> providerTypes) List of provider types for filtering that needs to be applied before displaying the result.repositoryNames
(String... repositoryNames) List of repository names for filtering that needs to be applied before displaying the result.repositoryNames
(Collection<String> repositoryNames) List of repository names for filtering that needs to be applied before displaying the result.states
(Collection<JobState> states) List of states for filtering that needs to be applied before displaying the result.List of states for filtering that needs to be applied before displaying the result.statesWithStrings
(String... states) List of states for filtering that needs to be applied before displaying the result.statesWithStrings
(Collection<String> states) List of states for filtering that needs to be applied before displaying the result.The type of code reviews to list in the response.The type of code reviews to list in the response.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codegurureviewer.model.CodeGuruReviewerRequest.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
-
providerTypesWithStrings
List of provider types for filtering that needs to be applied before displaying the result. For example,
providerTypes=[GitHub]
lists code reviews from GitHub.- Parameters:
providerTypes
- List of provider types for filtering that needs to be applied before displaying the result. For example,providerTypes=[GitHub]
lists code reviews from GitHub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerTypesWithStrings
List of provider types for filtering that needs to be applied before displaying the result. For example,
providerTypes=[GitHub]
lists code reviews from GitHub.- Parameters:
providerTypes
- List of provider types for filtering that needs to be applied before displaying the result. For example,providerTypes=[GitHub]
lists code reviews from GitHub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerTypes
List of provider types for filtering that needs to be applied before displaying the result. For example,
providerTypes=[GitHub]
lists code reviews from GitHub.- Parameters:
providerTypes
- List of provider types for filtering that needs to be applied before displaying the result. For example,providerTypes=[GitHub]
lists code reviews from GitHub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerTypes
List of provider types for filtering that needs to be applied before displaying the result. For example,
providerTypes=[GitHub]
lists code reviews from GitHub.- Parameters:
providerTypes
- List of provider types for filtering that needs to be applied before displaying the result. For example,providerTypes=[GitHub]
lists code reviews from GitHub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statesWithStrings
List of states for filtering that needs to be applied before displaying the result. For example,
states=[Pending]
lists code reviews in the Pending state.The valid code review states are:
-
Completed
: The code review is complete. -
Pending
: The code review started and has not completed or failed. -
Failed
: The code review failed. -
Deleting
: The code review is being deleted.
- Parameters:
states
- List of states for filtering that needs to be applied before displaying the result. For example,states=[Pending]
lists code reviews in the Pending state.The valid code review states are:
-
Completed
: The code review is complete. -
Pending
: The code review started and has not completed or failed. -
Failed
: The code review failed. -
Deleting
: The code review is being deleted.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
statesWithStrings
List of states for filtering that needs to be applied before displaying the result. For example,
states=[Pending]
lists code reviews in the Pending state.The valid code review states are:
-
Completed
: The code review is complete. -
Pending
: The code review started and has not completed or failed. -
Failed
: The code review failed. -
Deleting
: The code review is being deleted.
- Parameters:
states
- List of states for filtering that needs to be applied before displaying the result. For example,states=[Pending]
lists code reviews in the Pending state.The valid code review states are:
-
Completed
: The code review is complete. -
Pending
: The code review started and has not completed or failed. -
Failed
: The code review failed. -
Deleting
: The code review is being deleted.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
states
List of states for filtering that needs to be applied before displaying the result. For example,
states=[Pending]
lists code reviews in the Pending state.The valid code review states are:
-
Completed
: The code review is complete. -
Pending
: The code review started and has not completed or failed. -
Failed
: The code review failed. -
Deleting
: The code review is being deleted.
- Parameters:
states
- List of states for filtering that needs to be applied before displaying the result. For example,states=[Pending]
lists code reviews in the Pending state.The valid code review states are:
-
Completed
: The code review is complete. -
Pending
: The code review started and has not completed or failed. -
Failed
: The code review failed. -
Deleting
: The code review is being deleted.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
states
List of states for filtering that needs to be applied before displaying the result. For example,
states=[Pending]
lists code reviews in the Pending state.The valid code review states are:
-
Completed
: The code review is complete. -
Pending
: The code review started and has not completed or failed. -
Failed
: The code review failed. -
Deleting
: The code review is being deleted.
- Parameters:
states
- List of states for filtering that needs to be applied before displaying the result. For example,states=[Pending]
lists code reviews in the Pending state.The valid code review states are:
-
Completed
: The code review is complete. -
Pending
: The code review started and has not completed or failed. -
Failed
: The code review failed. -
Deleting
: The code review is being deleted.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
repositoryNames
List of repository names for filtering that needs to be applied before displaying the result.
- Parameters:
repositoryNames
- List of repository names for filtering that needs to be applied before displaying the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryNames
List of repository names for filtering that needs to be applied before displaying the result.
- Parameters:
repositoryNames
- List of repository names for filtering that needs to be applied before displaying the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of code reviews to list in the response.
- Parameters:
type
- The type of code reviews to list in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of code reviews to list in the response.
- Parameters:
type
- The type of code reviews to list in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of results that are returned per call. The default is 100.
- Parameters:
maxResults
- The maximum number of results that are returned per call. The default is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If
nextToken
is returned, there are more results available. The value ofnextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.- Parameters:
nextToken
- IfnextToken
is returned, there are more results available. The value ofnextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListCodeReviewsRequest.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
ListCodeReviewsRequest.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.
-