public class RepositoryMetadata
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about a repository.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
accountId
The ID of the AWS account associated with the repository.
|
private java.lang.String |
arn
The Amazon Resource Name (ARN) of the repository.
|
private java.lang.String |
cloneUrlHttp
The URL to use for cloning the repository over HTTPS.
|
private java.lang.String |
cloneUrlSsh
The URL to use for cloning the repository over SSH.
|
private java.util.Date |
creationDate
The date and time the repository was created, in timestamp format.
|
private java.lang.String |
defaultBranch
The repository's default branch name.
|
private java.util.Date |
lastModifiedDate
The date and time the repository was last modified, in timestamp format.
|
private java.lang.String |
repositoryDescription
A comment or description about the repository.
|
private java.lang.String |
repositoryId
The ID of the repository.
|
private java.lang.String |
repositoryName
The repository's name.
|
Constructor and Description |
---|
RepositoryMetadata() |
Modifier and Type | Method and Description |
---|---|
RepositoryMetadata |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAccountId()
The ID of the AWS account associated with the repository.
|
java.lang.String |
getArn()
The Amazon Resource Name (ARN) of the repository.
|
java.lang.String |
getCloneUrlHttp()
The URL to use for cloning the repository over HTTPS.
|
java.lang.String |
getCloneUrlSsh()
The URL to use for cloning the repository over SSH.
|
java.util.Date |
getCreationDate()
The date and time the repository was created, in timestamp format.
|
java.lang.String |
getDefaultBranch()
The repository's default branch name.
|
java.util.Date |
getLastModifiedDate()
The date and time the repository was last modified, in timestamp format.
|
java.lang.String |
getRepositoryDescription()
A comment or description about the repository.
|
java.lang.String |
getRepositoryId()
The ID of the repository.
|
java.lang.String |
getRepositoryName()
The repository's name.
|
int |
hashCode() |
void |
setAccountId(java.lang.String accountId)
The ID of the AWS account associated with the repository.
|
void |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the repository.
|
void |
setCloneUrlHttp(java.lang.String cloneUrlHttp)
The URL to use for cloning the repository over HTTPS.
|
void |
setCloneUrlSsh(java.lang.String cloneUrlSsh)
The URL to use for cloning the repository over SSH.
|
void |
setCreationDate(java.util.Date creationDate)
The date and time the repository was created, in timestamp format.
|
void |
setDefaultBranch(java.lang.String defaultBranch)
The repository's default branch name.
|
void |
setLastModifiedDate(java.util.Date lastModifiedDate)
The date and time the repository was last modified, in timestamp format.
|
void |
setRepositoryDescription(java.lang.String repositoryDescription)
A comment or description about the repository.
|
void |
setRepositoryId(java.lang.String repositoryId)
The ID of the repository.
|
void |
setRepositoryName(java.lang.String repositoryName)
The repository's name.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RepositoryMetadata |
withAccountId(java.lang.String accountId)
The ID of the AWS account associated with the repository.
|
RepositoryMetadata |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the repository.
|
RepositoryMetadata |
withCloneUrlHttp(java.lang.String cloneUrlHttp)
The URL to use for cloning the repository over HTTPS.
|
RepositoryMetadata |
withCloneUrlSsh(java.lang.String cloneUrlSsh)
The URL to use for cloning the repository over SSH.
|
RepositoryMetadata |
withCreationDate(java.util.Date creationDate)
The date and time the repository was created, in timestamp format.
|
RepositoryMetadata |
withDefaultBranch(java.lang.String defaultBranch)
The repository's default branch name.
|
RepositoryMetadata |
withLastModifiedDate(java.util.Date lastModifiedDate)
The date and time the repository was last modified, in timestamp format.
|
RepositoryMetadata |
withRepositoryDescription(java.lang.String repositoryDescription)
A comment or description about the repository.
|
RepositoryMetadata |
withRepositoryId(java.lang.String repositoryId)
The ID of the repository.
|
RepositoryMetadata |
withRepositoryName(java.lang.String repositoryName)
The repository's name.
|
private java.lang.String accountId
The ID of the AWS account associated with the repository.
private java.lang.String repositoryId
The ID of the repository.
private java.lang.String repositoryName
The repository's name.
private java.lang.String repositoryDescription
A comment or description about the repository.
private java.lang.String defaultBranch
The repository's default branch name.
private java.util.Date lastModifiedDate
The date and time the repository was last modified, in timestamp format.
private java.util.Date creationDate
The date and time the repository was created, in timestamp format.
private java.lang.String cloneUrlHttp
The URL to use for cloning the repository over HTTPS.
private java.lang.String cloneUrlSsh
The URL to use for cloning the repository over SSH.
private java.lang.String arn
The Amazon Resource Name (ARN) of the repository.
public void setAccountId(java.lang.String accountId)
The ID of the AWS account associated with the repository.
accountId
- The ID of the AWS account associated with the repository.public java.lang.String getAccountId()
The ID of the AWS account associated with the repository.
public RepositoryMetadata withAccountId(java.lang.String accountId)
The ID of the AWS account associated with the repository.
accountId
- The ID of the AWS account associated with the repository.public void setRepositoryId(java.lang.String repositoryId)
The ID of the repository.
repositoryId
- The ID of the repository.public java.lang.String getRepositoryId()
The ID of the repository.
public RepositoryMetadata withRepositoryId(java.lang.String repositoryId)
The ID of the repository.
repositoryId
- The ID of the repository.public void setRepositoryName(java.lang.String repositoryName)
The repository's name.
repositoryName
- The repository's name.public java.lang.String getRepositoryName()
The repository's name.
public RepositoryMetadata withRepositoryName(java.lang.String repositoryName)
The repository's name.
repositoryName
- The repository's name.public void setRepositoryDescription(java.lang.String repositoryDescription)
A comment or description about the repository.
repositoryDescription
- A comment or description about the repository.public java.lang.String getRepositoryDescription()
A comment or description about the repository.
public RepositoryMetadata withRepositoryDescription(java.lang.String repositoryDescription)
A comment or description about the repository.
repositoryDescription
- A comment or description about the repository.public void setDefaultBranch(java.lang.String defaultBranch)
The repository's default branch name.
defaultBranch
- The repository's default branch name.public java.lang.String getDefaultBranch()
The repository's default branch name.
public RepositoryMetadata withDefaultBranch(java.lang.String defaultBranch)
The repository's default branch name.
defaultBranch
- The repository's default branch name.public void setLastModifiedDate(java.util.Date lastModifiedDate)
The date and time the repository was last modified, in timestamp format.
lastModifiedDate
- The date and time the repository was last modified, in timestamp
format.public java.util.Date getLastModifiedDate()
The date and time the repository was last modified, in timestamp format.
public RepositoryMetadata withLastModifiedDate(java.util.Date lastModifiedDate)
The date and time the repository was last modified, in timestamp format.
lastModifiedDate
- The date and time the repository was last modified, in timestamp
format.public void setCreationDate(java.util.Date creationDate)
The date and time the repository was created, in timestamp format.
creationDate
- The date and time the repository was created, in timestamp format.public java.util.Date getCreationDate()
The date and time the repository was created, in timestamp format.
public RepositoryMetadata withCreationDate(java.util.Date creationDate)
The date and time the repository was created, in timestamp format.
creationDate
- The date and time the repository was created, in timestamp format.public void setCloneUrlHttp(java.lang.String cloneUrlHttp)
The URL to use for cloning the repository over HTTPS.
cloneUrlHttp
- The URL to use for cloning the repository over HTTPS.public java.lang.String getCloneUrlHttp()
The URL to use for cloning the repository over HTTPS.
public RepositoryMetadata withCloneUrlHttp(java.lang.String cloneUrlHttp)
The URL to use for cloning the repository over HTTPS.
cloneUrlHttp
- The URL to use for cloning the repository over HTTPS.public void setCloneUrlSsh(java.lang.String cloneUrlSsh)
The URL to use for cloning the repository over SSH.
cloneUrlSsh
- The URL to use for cloning the repository over SSH.public java.lang.String getCloneUrlSsh()
The URL to use for cloning the repository over SSH.
public RepositoryMetadata withCloneUrlSsh(java.lang.String cloneUrlSsh)
The URL to use for cloning the repository over SSH.
cloneUrlSsh
- The URL to use for cloning the repository over SSH.public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the repository.
arn
- The Amazon Resource Name (ARN) of the repository.public java.lang.String getArn()
The Amazon Resource Name (ARN) of the repository.
public RepositoryMetadata withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the repository.
arn
- The Amazon Resource Name (ARN) of the repository.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RepositoryMetadata clone()
clone
in class java.lang.Object