@Generated(value="software.amazon.awssdk:codegen") public final class ListCodeReviewsRequest extends CodeGuruReviewerRequest implements ToCopyableBuilder<ListCodeReviewsRequest.Builder,ListCodeReviewsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListCodeReviewsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListCodeReviewsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasProviderTypes()
Returns true if the ProviderTypes property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasRepositoryNames()
Returns true if the RepositoryNames property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasStates()
Returns true if the States property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
Integer |
maxResults()
The maximum number of results that are returned per call.
|
String |
nextToken()
If nextToken is returned, there are more results available.
|
List<ProviderType> |
providerTypes()
List of provider types for filtering that needs to be applied before displaying the result.
|
List<String> |
providerTypesAsStrings()
List of provider types for filtering that needs to be applied before displaying the result.
|
List<String> |
repositoryNames()
List of repository names for filtering that needs to be applied before displaying the result.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListCodeReviewsRequest.Builder> |
serializableBuilderClass() |
List<JobState> |
states()
List of states for filtering that needs to be applied before displaying the result.
|
List<String> |
statesAsStrings()
List of states for filtering that needs to be applied before displaying the result.
|
ListCodeReviewsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Type |
type()
The type of code reviews to list in the response.
|
String |
typeAsString()
The type of code reviews to list in the response.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasProviderTypes() to see if a value was sent in this field.
providerTypes=[GitHub] lists code reviews from GitHub.public boolean hasProviderTypes()
public List<String> providerTypesAsStrings()
List of provider types for filtering that needs to be applied before displaying the result. For example,
providerTypes=[GitHub] lists code reviews from GitHub.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasProviderTypes() to see if a value was sent in this field.
providerTypes=[GitHub] lists code reviews from GitHub.public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasStates() to see if a value was sent in this field.
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.
public boolean hasStates()
public List<String> statesAsStrings()
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasStates() to see if a value was sent in this field.
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.
public boolean hasRepositoryNames()
public List<String> repositoryNames()
List of repository names for filtering that needs to be applied before displaying the result.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRepositoryNames() to see if a value was sent in this field.
public Type type()
The type of code reviews to list in the response.
If the service returns an enum value that is not available in the current SDK version, type will return
Type.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
Typepublic String typeAsString()
The type of code reviews to list in the response.
If the service returns an enum value that is not available in the current SDK version, type will return
Type.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
Typepublic Integer maxResults()
The maximum number of results that are returned per call. The default is 100.
public String nextToken()
If nextToken is returned, there are more results available. The value of nextToken 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.
public ListCodeReviewsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListCodeReviewsRequest.Builder,ListCodeReviewsRequest>toBuilder in class CodeGuruReviewerRequestpublic static ListCodeReviewsRequest.Builder builder()
public static Class<? extends ListCodeReviewsRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.