Interface ListCodeReviewsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeGuruReviewerRequest.Builder,CopyableBuilder<ListCodeReviewsRequest.Builder,ListCodeReviewsRequest>,SdkBuilder<ListCodeReviewsRequest.Builder,ListCodeReviewsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListCodeReviewsRequest
public static interface ListCodeReviewsRequest.Builder extends CodeGuruReviewerRequest.Builder, SdkPojo, CopyableBuilder<ListCodeReviewsRequest.Builder,ListCodeReviewsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCodeReviewsRequest.BuildermaxResults(Integer maxResults)The maximum number of results that are returned per call.ListCodeReviewsRequest.BuildernextToken(String nextToken)IfnextTokenis returned, there are more results available.ListCodeReviewsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListCodeReviewsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListCodeReviewsRequest.BuilderproviderTypes(Collection<ProviderType> providerTypes)List of provider types for filtering that needs to be applied before displaying the result.ListCodeReviewsRequest.BuilderproviderTypes(ProviderType... providerTypes)List of provider types for filtering that needs to be applied before displaying the result.ListCodeReviewsRequest.BuilderproviderTypesWithStrings(String... providerTypes)List of provider types for filtering that needs to be applied before displaying the result.ListCodeReviewsRequest.BuilderproviderTypesWithStrings(Collection<String> providerTypes)List of provider types for filtering that needs to be applied before displaying the result.ListCodeReviewsRequest.BuilderrepositoryNames(String... repositoryNames)List of repository names for filtering that needs to be applied before displaying the result.ListCodeReviewsRequest.BuilderrepositoryNames(Collection<String> repositoryNames)List of repository names for filtering that needs to be applied before displaying the result.ListCodeReviewsRequest.Builderstates(Collection<JobState> states)List of states for filtering that needs to be applied before displaying the result.ListCodeReviewsRequest.Builderstates(JobState... states)List of states for filtering that needs to be applied before displaying the result.ListCodeReviewsRequest.BuilderstatesWithStrings(String... states)List of states for filtering that needs to be applied before displaying the result.ListCodeReviewsRequest.BuilderstatesWithStrings(Collection<String> states)List of states for filtering that needs to be applied before displaying the result.ListCodeReviewsRequest.Buildertype(String type)The type of code reviews to list in the response.ListCodeReviewsRequest.Buildertype(Type type)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 Detail
-
providerTypesWithStrings
ListCodeReviewsRequest.Builder providerTypesWithStrings(Collection<String> 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.
-
providerTypesWithStrings
ListCodeReviewsRequest.Builder providerTypesWithStrings(String... 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
ListCodeReviewsRequest.Builder providerTypes(Collection<ProviderType> 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
ListCodeReviewsRequest.Builder providerTypes(ProviderType... 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
ListCodeReviewsRequest.Builder statesWithStrings(Collection<String> 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.
-
-
statesWithStrings
ListCodeReviewsRequest.Builder statesWithStrings(String... 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
ListCodeReviewsRequest.Builder states(Collection<JobState> 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
ListCodeReviewsRequest.Builder states(JobState... 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
ListCodeReviewsRequest.Builder repositoryNames(Collection<String> 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
ListCodeReviewsRequest.Builder repositoryNames(String... 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
ListCodeReviewsRequest.Builder type(String type)
The type of code reviews to list in the response.
-
type
ListCodeReviewsRequest.Builder type(Type type)
The type of code reviews to list in the response.
-
maxResults
ListCodeReviewsRequest.Builder maxResults(Integer 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
ListCodeReviewsRequest.Builder nextToken(String nextToken)
If
nextTokenis returned, there are more results available. The value ofnextTokenis 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- IfnextTokenis returned, there are more results available. The value ofnextTokenis 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListCodeReviewsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-