@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRepositoryAssociationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListRepositoryAssociationsRequest() |
Modifier and Type | Method and Description |
---|---|
ListRepositoryAssociationsRequest |
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 repository association results returned by
ListRepositoryAssociations in
paginated output. |
List<String> |
getNames()
List of repository names to use as a filter.
|
String |
getNextToken()
The
nextToken value returned from a previous paginated ListRepositoryAssociations
request where maxResults was used and the results exceeded the value of that parameter. |
List<String> |
getOwners()
List of owners to use as a filter.
|
List<String> |
getProviderTypes()
List of provider types to use as a filter.
|
List<String> |
getStates()
List of repository association states to use as a filter.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of repository association results returned by
ListRepositoryAssociations in
paginated output. |
void |
setNames(Collection<String> names)
List of repository names to use as a filter.
|
void |
setNextToken(String nextToken)
The
nextToken value returned from a previous paginated ListRepositoryAssociations
request where maxResults was used and the results exceeded the value of that parameter. |
void |
setOwners(Collection<String> owners)
List of owners to use as a filter.
|
void |
setProviderTypes(Collection<String> providerTypes)
List of provider types to use as a filter.
|
void |
setStates(Collection<String> states)
List of repository association states to use as a filter.
|
String |
toString()
Returns a string representation of this object.
|
ListRepositoryAssociationsRequest |
withMaxResults(Integer maxResults)
The maximum number of repository association results returned by
ListRepositoryAssociations in
paginated output. |
ListRepositoryAssociationsRequest |
withNames(Collection<String> names)
List of repository names to use as a filter.
|
ListRepositoryAssociationsRequest |
withNames(String... names)
List of repository names to use as a filter.
|
ListRepositoryAssociationsRequest |
withNextToken(String nextToken)
The
nextToken value returned from a previous paginated ListRepositoryAssociations
request where maxResults was used and the results exceeded the value of that parameter. |
ListRepositoryAssociationsRequest |
withOwners(Collection<String> owners)
List of owners to use as a filter.
|
ListRepositoryAssociationsRequest |
withOwners(String... owners)
List of owners to use as a filter.
|
ListRepositoryAssociationsRequest |
withProviderTypes(Collection<String> providerTypes)
List of provider types to use as a filter.
|
ListRepositoryAssociationsRequest |
withProviderTypes(ProviderType... providerTypes)
List of provider types to use as a filter.
|
ListRepositoryAssociationsRequest |
withProviderTypes(String... providerTypes)
List of provider types to use as a filter.
|
ListRepositoryAssociationsRequest |
withStates(Collection<String> states)
List of repository association states to use as a filter.
|
ListRepositoryAssociationsRequest |
withStates(RepositoryAssociationState... states)
List of repository association states to use as a filter.
|
ListRepositoryAssociationsRequest |
withStates(String... states)
List of repository association states to use as a filter.
|
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 to use as a filter.
ProviderType
public void setProviderTypes(Collection<String> providerTypes)
List of provider types to use as a filter.
providerTypes
- List of provider types to use as a filter.ProviderType
public ListRepositoryAssociationsRequest withProviderTypes(String... providerTypes)
List of provider types to use as a filter.
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 to use as a filter.ProviderType
public ListRepositoryAssociationsRequest withProviderTypes(Collection<String> providerTypes)
List of provider types to use as a filter.
providerTypes
- List of provider types to use as a filter.ProviderType
public ListRepositoryAssociationsRequest withProviderTypes(ProviderType... providerTypes)
List of provider types to use as a filter.
providerTypes
- List of provider types to use as a filter.ProviderType
public List<String> getStates()
List of repository association states to use as a filter.
The valid repository association states are:
Associated: The repository association is complete.
Associating: CodeGuru Reviewer is:
Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.
If your repository ProviderType
is GitHub
, GitHub Enterprise Server
, or
Bitbucket
, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer
reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.
Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
Failed: The repository failed to associate or disassociate.
Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
The valid repository association states are:
Associated: The repository association is complete.
Associating: CodeGuru Reviewer is:
Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.
If your repository ProviderType
is GitHub
,
GitHub Enterprise Server
, or Bitbucket
, CodeGuru Reviewer creates webhooks in
your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in
your repository cannot be triggered.
Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
Failed: The repository failed to associate or disassociate.
Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
RepositoryAssociationState
public void setStates(Collection<String> states)
List of repository association states to use as a filter.
The valid repository association states are:
Associated: The repository association is complete.
Associating: CodeGuru Reviewer is:
Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.
If your repository ProviderType
is GitHub
, GitHub Enterprise Server
, or
Bitbucket
, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer
reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.
Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
Failed: The repository failed to associate or disassociate.
Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
states
- List of repository association states to use as a filter.
The valid repository association states are:
Associated: The repository association is complete.
Associating: CodeGuru Reviewer is:
Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.
If your repository ProviderType
is GitHub
, GitHub Enterprise Server
, or Bitbucket
, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru
Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.
Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
Failed: The repository failed to associate or disassociate.
Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
RepositoryAssociationState
public ListRepositoryAssociationsRequest withStates(String... states)
List of repository association states to use as a filter.
The valid repository association states are:
Associated: The repository association is complete.
Associating: CodeGuru Reviewer is:
Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.
If your repository ProviderType
is GitHub
, GitHub Enterprise Server
, or
Bitbucket
, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer
reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.
Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
Failed: The repository failed to associate or disassociate.
Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
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 repository association states to use as a filter.
The valid repository association states are:
Associated: The repository association is complete.
Associating: CodeGuru Reviewer is:
Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.
If your repository ProviderType
is GitHub
, GitHub Enterprise Server
, or Bitbucket
, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru
Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.
Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
Failed: The repository failed to associate or disassociate.
Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
RepositoryAssociationState
public ListRepositoryAssociationsRequest withStates(Collection<String> states)
List of repository association states to use as a filter.
The valid repository association states are:
Associated: The repository association is complete.
Associating: CodeGuru Reviewer is:
Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.
If your repository ProviderType
is GitHub
, GitHub Enterprise Server
, or
Bitbucket
, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer
reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.
Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
Failed: The repository failed to associate or disassociate.
Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
states
- List of repository association states to use as a filter.
The valid repository association states are:
Associated: The repository association is complete.
Associating: CodeGuru Reviewer is:
Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.
If your repository ProviderType
is GitHub
, GitHub Enterprise Server
, or Bitbucket
, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru
Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.
Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
Failed: The repository failed to associate or disassociate.
Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
RepositoryAssociationState
public ListRepositoryAssociationsRequest withStates(RepositoryAssociationState... states)
List of repository association states to use as a filter.
The valid repository association states are:
Associated: The repository association is complete.
Associating: CodeGuru Reviewer is:
Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.
If your repository ProviderType
is GitHub
, GitHub Enterprise Server
, or
Bitbucket
, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer
reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.
Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
Failed: The repository failed to associate or disassociate.
Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
states
- List of repository association states to use as a filter.
The valid repository association states are:
Associated: The repository association is complete.
Associating: CodeGuru Reviewer is:
Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.
If your repository ProviderType
is GitHub
, GitHub Enterprise Server
, or Bitbucket
, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru
Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.
Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
Failed: The repository failed to associate or disassociate.
Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
RepositoryAssociationState
public List<String> getNames()
List of repository names to use as a filter.
public void setNames(Collection<String> names)
List of repository names to use as a filter.
names
- List of repository names to use as a filter.public ListRepositoryAssociationsRequest withNames(String... names)
List of repository names to use as a filter.
NOTE: This method appends the values to the existing list (if any). Use
setNames(java.util.Collection)
or withNames(java.util.Collection)
if you want to override the
existing values.
names
- List of repository names to use as a filter.public ListRepositoryAssociationsRequest withNames(Collection<String> names)
List of repository names to use as a filter.
names
- List of repository names to use as a filter.public List<String> getOwners()
List of owners to use as a filter. For Amazon Web Services CodeCommit, it is the name of the CodeCommit account that was used to associate the repository. For other repository source providers, such as Bitbucket and GitHub Enterprise Server, this is name of the account that was used to associate the repository.
public void setOwners(Collection<String> owners)
List of owners to use as a filter. For Amazon Web Services CodeCommit, it is the name of the CodeCommit account that was used to associate the repository. For other repository source providers, such as Bitbucket and GitHub Enterprise Server, this is name of the account that was used to associate the repository.
owners
- List of owners to use as a filter. For Amazon Web Services CodeCommit, it is the name of the CodeCommit
account that was used to associate the repository. For other repository source providers, such as
Bitbucket and GitHub Enterprise Server, this is name of the account that was used to associate the
repository.public ListRepositoryAssociationsRequest withOwners(String... owners)
List of owners to use as a filter. For Amazon Web Services CodeCommit, it is the name of the CodeCommit account that was used to associate the repository. For other repository source providers, such as Bitbucket and GitHub Enterprise Server, this is name of the account that was used to associate the repository.
NOTE: This method appends the values to the existing list (if any). Use
setOwners(java.util.Collection)
or withOwners(java.util.Collection)
if you want to override the
existing values.
owners
- List of owners to use as a filter. For Amazon Web Services CodeCommit, it is the name of the CodeCommit
account that was used to associate the repository. For other repository source providers, such as
Bitbucket and GitHub Enterprise Server, this is name of the account that was used to associate the
repository.public ListRepositoryAssociationsRequest withOwners(Collection<String> owners)
List of owners to use as a filter. For Amazon Web Services CodeCommit, it is the name of the CodeCommit account that was used to associate the repository. For other repository source providers, such as Bitbucket and GitHub Enterprise Server, this is name of the account that was used to associate the repository.
owners
- List of owners to use as a filter. For Amazon Web Services CodeCommit, it is the name of the CodeCommit
account that was used to associate the repository. For other repository source providers, such as
Bitbucket and GitHub Enterprise Server, this is name of the account that was used to associate the
repository.public void setMaxResults(Integer maxResults)
The maximum number of repository association results returned by ListRepositoryAssociations
in
paginated output. When this parameter is used, ListRepositoryAssociations
only returns
maxResults
results in a single page with a nextToken
response element. The remaining
results of the initial request can be seen by sending another ListRepositoryAssociations
request
with the returned nextToken
value. This value can be between 1 and 100. If this parameter is not
used, ListRepositoryAssociations
returns up to 100 results and a nextToken
value if
applicable.
maxResults
- The maximum number of repository association results returned by ListRepositoryAssociations
in paginated output. When this parameter is used, ListRepositoryAssociations
only returns
maxResults
results in a single page with a nextToken
response element. The
remaining results of the initial request can be seen by sending another
ListRepositoryAssociations
request with the returned nextToken
value. This value
can be between 1 and 100. If this parameter is not used, ListRepositoryAssociations
returns
up to 100 results and a nextToken
value if applicable.public Integer getMaxResults()
The maximum number of repository association results returned by ListRepositoryAssociations
in
paginated output. When this parameter is used, ListRepositoryAssociations
only returns
maxResults
results in a single page with a nextToken
response element. The remaining
results of the initial request can be seen by sending another ListRepositoryAssociations
request
with the returned nextToken
value. This value can be between 1 and 100. If this parameter is not
used, ListRepositoryAssociations
returns up to 100 results and a nextToken
value if
applicable.
ListRepositoryAssociations
in paginated output. When this parameter is used, ListRepositoryAssociations
only returns
maxResults
results in a single page with a nextToken
response element. The
remaining results of the initial request can be seen by sending another
ListRepositoryAssociations
request with the returned nextToken
value. This
value can be between 1 and 100. If this parameter is not used, ListRepositoryAssociations
returns up to 100 results and a nextToken
value if applicable.public ListRepositoryAssociationsRequest withMaxResults(Integer maxResults)
The maximum number of repository association results returned by ListRepositoryAssociations
in
paginated output. When this parameter is used, ListRepositoryAssociations
only returns
maxResults
results in a single page with a nextToken
response element. The remaining
results of the initial request can be seen by sending another ListRepositoryAssociations
request
with the returned nextToken
value. This value can be between 1 and 100. If this parameter is not
used, ListRepositoryAssociations
returns up to 100 results and a nextToken
value if
applicable.
maxResults
- The maximum number of repository association results returned by ListRepositoryAssociations
in paginated output. When this parameter is used, ListRepositoryAssociations
only returns
maxResults
results in a single page with a nextToken
response element. The
remaining results of the initial request can be seen by sending another
ListRepositoryAssociations
request with the returned nextToken
value. This value
can be between 1 and 100. If this parameter is not used, ListRepositoryAssociations
returns
up to 100 results and a nextToken
value if applicable.public void setNextToken(String nextToken)
The nextToken
value returned from a previous paginated ListRepositoryAssociations
request where maxResults
was used and the results exceeded the value of that parameter. Pagination
continues from the end of the previous results that returned the nextToken
value.
Treat this token as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
nextToken
- The nextToken
value returned from a previous paginated
ListRepositoryAssociations
request where maxResults
was used and the results
exceeded the value of that parameter. Pagination continues from the end of the previous results that
returned the nextToken
value. Treat this token as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
public String getNextToken()
The nextToken
value returned from a previous paginated ListRepositoryAssociations
request where maxResults
was used and the results exceeded the value of that parameter. Pagination
continues from the end of the previous results that returned the nextToken
value.
Treat this token as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
nextToken
value returned from a previous paginated
ListRepositoryAssociations
request where maxResults
was used and the results
exceeded the value of that parameter. Pagination continues from the end of the previous results that
returned the nextToken
value. Treat this token as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
public ListRepositoryAssociationsRequest withNextToken(String nextToken)
The nextToken
value returned from a previous paginated ListRepositoryAssociations
request where maxResults
was used and the results exceeded the value of that parameter. Pagination
continues from the end of the previous results that returned the nextToken
value.
Treat this token as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
nextToken
- The nextToken
value returned from a previous paginated
ListRepositoryAssociations
request where maxResults
was used and the results
exceeded the value of that parameter. Pagination continues from the end of the previous results that
returned the nextToken
value. Treat this token as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
public String toString()
toString
in class Object
Object.toString()
public ListRepositoryAssociationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()