@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCodeReviewsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListCodeReviewsRequest() |
Modifier and Type | Method and Description |
---|---|
ListCodeReviewsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results that are returned per call.
|
String |
getNextToken()
If
nextToken is returned, there are more results available. |
List<String> |
getProviderTypes()
List of provider types for filtering that needs to be applied before displaying the result.
|
List<String> |
getRepositoryNames()
List of repository names for filtering that needs to be applied before displaying the result.
|
List<String> |
getStates()
List of states for filtering that needs to be applied before displaying the result.
|
String |
getType()
The type of code reviews to list in the response.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results that are returned per call.
|
void |
setNextToken(String nextToken)
If
nextToken is returned, there are more results available. |
void |
setProviderTypes(Collection<String> providerTypes)
List of provider types for filtering that needs to be applied before displaying the result.
|
void |
setRepositoryNames(Collection<String> repositoryNames)
List of repository names for filtering that needs to be applied before displaying the result.
|
void |
setStates(Collection<String> states)
List of states for filtering that needs to be applied before displaying the result.
|
void |
setType(String type)
The type of code reviews to list in the response.
|
String |
toString()
Returns a string representation of this object.
|
ListCodeReviewsRequest |
withMaxResults(Integer maxResults)
The maximum number of results that are returned per call.
|
ListCodeReviewsRequest |
withNextToken(String nextToken)
If
nextToken is returned, there are more results available. |
ListCodeReviewsRequest |
withProviderTypes(Collection<String> providerTypes)
List of provider types for filtering that needs to be applied before displaying the result.
|
ListCodeReviewsRequest |
withProviderTypes(ProviderType... providerTypes)
List of provider types for filtering that needs to be applied before displaying the result.
|
ListCodeReviewsRequest |
withProviderTypes(String... providerTypes)
List of provider types for filtering that needs to be applied before displaying the result.
|
ListCodeReviewsRequest |
withRepositoryNames(Collection<String> repositoryNames)
List of repository names for filtering that needs to be applied before displaying the result.
|
ListCodeReviewsRequest |
withRepositoryNames(String... repositoryNames)
List of repository names for filtering that needs to be applied before displaying the result.
|
ListCodeReviewsRequest |
withStates(Collection<String> states)
List of states for filtering that needs to be applied before displaying the result.
|
ListCodeReviewsRequest |
withStates(JobState... states)
List of states for filtering that needs to be applied before displaying the result.
|
ListCodeReviewsRequest |
withStates(String... states)
List of states for filtering that needs to be applied before displaying the result.
|
ListCodeReviewsRequest |
withType(String type)
The type of code reviews to list in the response.
|
ListCodeReviewsRequest |
withType(Type type)
The type of code reviews to list in the response.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getProviderTypes()
List of provider types for filtering that needs to be applied before displaying the result. For example,
providerTypes=[GitHub]
lists code reviews from GitHub.
providerTypes=[GitHub]
lists code reviews from GitHub.ProviderType
public void setProviderTypes(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.
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.ProviderType
public ListCodeReviewsRequest withProviderTypes(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.
NOTE: This method appends the values to the existing list (if any). Use
setProviderTypes(java.util.Collection)
or withProviderTypes(java.util.Collection)
if you want
to override the existing values.
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.ProviderType
public ListCodeReviewsRequest withProviderTypes(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.
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.ProviderType
public ListCodeReviewsRequest withProviderTypes(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.
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.ProviderType
public List<String> getStates()
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.
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.
JobState
public void setStates(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.
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.
JobState
public ListCodeReviewsRequest withStates(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.
NOTE: This method appends the values to the existing list (if any). Use
setStates(java.util.Collection)
or withStates(java.util.Collection)
if you want to override the
existing values.
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.
JobState
public ListCodeReviewsRequest withStates(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.
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.
JobState
public ListCodeReviewsRequest withStates(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.
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.
JobState
public List<String> getRepositoryNames()
List of repository names for filtering that needs to be applied before displaying the result.
public void setRepositoryNames(Collection<String> repositoryNames)
List of repository names for filtering that needs to be applied before displaying the result.
repositoryNames
- List of repository names for filtering that needs to be applied before displaying the result.public ListCodeReviewsRequest withRepositoryNames(String... repositoryNames)
List of repository names for filtering that needs to be applied before displaying the result.
NOTE: This method appends the values to the existing list (if any). Use
setRepositoryNames(java.util.Collection)
or withRepositoryNames(java.util.Collection)
if you
want to override the existing values.
repositoryNames
- List of repository names for filtering that needs to be applied before displaying the result.public ListCodeReviewsRequest withRepositoryNames(Collection<String> repositoryNames)
List of repository names for filtering that needs to be applied before displaying the result.
repositoryNames
- List of repository names for filtering that needs to be applied before displaying the result.public void setType(String type)
The type of code reviews to list in the response.
type
- The type of code reviews to list in the response.Type
public String getType()
The type of code reviews to list in the response.
Type
public ListCodeReviewsRequest withType(String type)
The type of code reviews to list in the response.
type
- The type of code reviews to list in the response.Type
public ListCodeReviewsRequest withType(Type type)
The type of code reviews to list in the response.
type
- The type of code reviews to list in the response.Type
public void setMaxResults(Integer maxResults)
The maximum number of results that are returned per call. The default is 100.
maxResults
- The maximum number of results that are returned per call. The default is 100.public Integer getMaxResults()
The maximum number of results that are returned per call. The default is 100.
public ListCodeReviewsRequest withMaxResults(Integer maxResults)
The maximum number of results that are returned per call. The default is 100.
maxResults
- The maximum number of results that are returned per call. The default is 100.public void setNextToken(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
- 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 String getNextToken()
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 withNextToken(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
- 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 String toString()
toString
in class Object
Object.toString()
public ListCodeReviewsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()