@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()
For responses, this returns true if the service returned a value for the ProviderTypes property.
|
boolean |
hasRepositoryNames()
For responses, this returns true if the service returned a value for the RepositoryNames property.
|
boolean |
hasStates()
For responses, this returns true if the service returned a value for the States property.
|
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 final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasProviderTypes() method.
providerTypes=[GitHub] lists code reviews from GitHub.public final boolean hasProviderTypes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasProviderTypes() method.
providerTypes=[GitHub] lists code reviews from GitHub.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasStates() method.
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 final boolean hasStates()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasStates() method.
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 final boolean hasRepositoryNames()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRepositoryNames() method.
public final 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 final 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 final Integer maxResults()
The maximum number of results that are returned per call. The default is 100.
public final 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.
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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.