@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RepositoryAssociationSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about a repository association. The
ListRepositoryAssociations
operation returns a list of RepositoryAssociationSummary
objects.
Constructor and Description |
---|
RepositoryAssociationSummary() |
Modifier and Type | Method and Description |
---|---|
RepositoryAssociationSummary |
clone() |
boolean |
equals(Object obj) |
String |
getAssociationArn()
The Amazon Resource Name (ARN) of the
RepositoryAssociation object. |
String |
getAssociationId()
The repository association ID.
|
String |
getConnectionArn()
The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
|
Date |
getLastUpdatedTimeStamp()
The time, in milliseconds since the epoch, since the repository association was last updated.
|
String |
getName()
The name of the repository association.
|
String |
getOwner()
The owner of the repository.
|
String |
getProviderType()
The provider type of the repository association.
|
String |
getState()
The state of the repository association.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociationArn(String associationArn)
The Amazon Resource Name (ARN) of the
RepositoryAssociation object. |
void |
setAssociationId(String associationId)
The repository association ID.
|
void |
setConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
|
void |
setLastUpdatedTimeStamp(Date lastUpdatedTimeStamp)
The time, in milliseconds since the epoch, since the repository association was last updated.
|
void |
setName(String name)
The name of the repository association.
|
void |
setOwner(String owner)
The owner of the repository.
|
void |
setProviderType(String providerType)
The provider type of the repository association.
|
void |
setState(String state)
The state of the repository association.
|
String |
toString()
Returns a string representation of this object.
|
RepositoryAssociationSummary |
withAssociationArn(String associationArn)
The Amazon Resource Name (ARN) of the
RepositoryAssociation object. |
RepositoryAssociationSummary |
withAssociationId(String associationId)
The repository association ID.
|
RepositoryAssociationSummary |
withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
|
RepositoryAssociationSummary |
withLastUpdatedTimeStamp(Date lastUpdatedTimeStamp)
The time, in milliseconds since the epoch, since the repository association was last updated.
|
RepositoryAssociationSummary |
withName(String name)
The name of the repository association.
|
RepositoryAssociationSummary |
withOwner(String owner)
The owner of the repository.
|
RepositoryAssociationSummary |
withProviderType(ProviderType providerType)
The provider type of the repository association.
|
RepositoryAssociationSummary |
withProviderType(String providerType)
The provider type of the repository association.
|
RepositoryAssociationSummary |
withState(RepositoryAssociationState state)
The state of the repository association.
|
RepositoryAssociationSummary |
withState(String state)
The state of the repository association.
|
public void setAssociationArn(String associationArn)
The Amazon Resource Name (ARN) of the
RepositoryAssociation
object. You can retrieve this ARN by calling
ListRepositories
.
associationArn
- The Amazon Resource Name (ARN) of the
RepositoryAssociation
object. You can retrieve this ARN by calling
ListRepositories
.public String getAssociationArn()
The Amazon Resource Name (ARN) of the
RepositoryAssociation
object. You can retrieve this ARN by calling
ListRepositories
.
RepositoryAssociation
object. You can retrieve this ARN by calling
ListRepositories
.public RepositoryAssociationSummary withAssociationArn(String associationArn)
The Amazon Resource Name (ARN) of the
RepositoryAssociation
object. You can retrieve this ARN by calling
ListRepositories
.
associationArn
- The Amazon Resource Name (ARN) of the
RepositoryAssociation
object. You can retrieve this ARN by calling
ListRepositories
.public void setConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is
arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id
. For more
information, see
Connection
in the AWS CodeStar Connections API Reference.
connectionArn
- The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is
arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id
. For more
information, see
Connection
in the AWS CodeStar Connections API Reference.public String getConnectionArn()
The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is
arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id
. For more
information, see
Connection
in the AWS CodeStar Connections API Reference.
arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id
. For more
information, see
Connection
in the AWS CodeStar Connections API Reference.public RepositoryAssociationSummary withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is
arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id
. For more
information, see
Connection
in the AWS CodeStar Connections API Reference.
connectionArn
- The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is
arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id
. For more
information, see
Connection
in the AWS CodeStar Connections API Reference.public void setLastUpdatedTimeStamp(Date lastUpdatedTimeStamp)
The time, in milliseconds since the epoch, since the repository association was last updated.
lastUpdatedTimeStamp
- The time, in milliseconds since the epoch, since the repository association was last updated.public Date getLastUpdatedTimeStamp()
The time, in milliseconds since the epoch, since the repository association was last updated.
public RepositoryAssociationSummary withLastUpdatedTimeStamp(Date lastUpdatedTimeStamp)
The time, in milliseconds since the epoch, since the repository association was last updated.
lastUpdatedTimeStamp
- The time, in milliseconds since the epoch, since the repository association was last updated.public void setAssociationId(String associationId)
The repository association ID.
associationId
- The repository association ID.public String getAssociationId()
The repository association ID.
public RepositoryAssociationSummary withAssociationId(String associationId)
The repository association ID.
associationId
- The repository association ID.public void setName(String name)
The name of the repository association.
name
- The name of the repository association.public String getName()
The name of the repository association.
public RepositoryAssociationSummary withName(String name)
The name of the repository association.
name
- The name of the repository association.public void setOwner(String owner)
The owner of the repository. For an AWS CodeCommit repository, this is the AWS account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository.
owner
- The owner of the repository. For an AWS CodeCommit repository, this is the AWS account ID of the account
that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the
username for the account that owns the repository.public String getOwner()
The owner of the repository. For an AWS CodeCommit repository, this is the AWS account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository.
public RepositoryAssociationSummary withOwner(String owner)
The owner of the repository. For an AWS CodeCommit repository, this is the AWS account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository.
owner
- The owner of the repository. For an AWS CodeCommit repository, this is the AWS account ID of the account
that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the
username for the account that owns the repository.public void setProviderType(String providerType)
The provider type of the repository association.
providerType
- The provider type of the repository association.ProviderType
public String getProviderType()
The provider type of the repository association.
ProviderType
public RepositoryAssociationSummary withProviderType(String providerType)
The provider type of the repository association.
providerType
- The provider type of the repository association.ProviderType
public RepositoryAssociationSummary withProviderType(ProviderType providerType)
The provider type of the repository association.
providerType
- The provider type of the repository association.ProviderType
public void setState(String state)
The state of the repository association.
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.
state
- The state of the repository association.
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.
RepositoryAssociationState
public String getState()
The state of the repository association.
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.
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.
RepositoryAssociationState
public RepositoryAssociationSummary withState(String state)
The state of the repository association.
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.
state
- The state of the repository association.
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.
RepositoryAssociationState
public RepositoryAssociationSummary withState(RepositoryAssociationState state)
The state of the repository association.
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.
state
- The state of the repository association.
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.
RepositoryAssociationState
public String toString()
toString
in class Object
Object.toString()
public RepositoryAssociationSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.