@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RepositoryMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Information about a repository.
Constructor and Description |
---|
RepositoryMetadata() |
Modifier and Type | Method and Description |
---|---|
RepositoryMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The ID of the AWS account associated with the repository.
|
String |
getArn()
The Amazon Resource Name (ARN) of the repository.
|
String |
getCloneUrlHttp()
The URL to use for cloning the repository over HTTPS.
|
String |
getCloneUrlSsh()
The URL to use for cloning the repository over SSH.
|
Date |
getCreationDate()
The date and time the repository was created, in timestamp format.
|
String |
getDefaultBranch()
The repository's default branch name.
|
Date |
getLastModifiedDate()
The date and time the repository was last modified, in timestamp format.
|
String |
getRepositoryDescription()
A comment or description about the repository.
|
String |
getRepositoryId()
The ID of the repository.
|
String |
getRepositoryName()
The repository's name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The ID of the AWS account associated with the repository.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the repository.
|
void |
setCloneUrlHttp(String cloneUrlHttp)
The URL to use for cloning the repository over HTTPS.
|
void |
setCloneUrlSsh(String cloneUrlSsh)
The URL to use for cloning the repository over SSH.
|
void |
setCreationDate(Date creationDate)
The date and time the repository was created, in timestamp format.
|
void |
setDefaultBranch(String defaultBranch)
The repository's default branch name.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The date and time the repository was last modified, in timestamp format.
|
void |
setRepositoryDescription(String repositoryDescription)
A comment or description about the repository.
|
void |
setRepositoryId(String repositoryId)
The ID of the repository.
|
void |
setRepositoryName(String repositoryName)
The repository's name.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RepositoryMetadata |
withAccountId(String accountId)
The ID of the AWS account associated with the repository.
|
RepositoryMetadata |
withArn(String arn)
The Amazon Resource Name (ARN) of the repository.
|
RepositoryMetadata |
withCloneUrlHttp(String cloneUrlHttp)
The URL to use for cloning the repository over HTTPS.
|
RepositoryMetadata |
withCloneUrlSsh(String cloneUrlSsh)
The URL to use for cloning the repository over SSH.
|
RepositoryMetadata |
withCreationDate(Date creationDate)
The date and time the repository was created, in timestamp format.
|
RepositoryMetadata |
withDefaultBranch(String defaultBranch)
The repository's default branch name.
|
RepositoryMetadata |
withLastModifiedDate(Date lastModifiedDate)
The date and time the repository was last modified, in timestamp format.
|
RepositoryMetadata |
withRepositoryDescription(String repositoryDescription)
A comment or description about the repository.
|
RepositoryMetadata |
withRepositoryId(String repositoryId)
The ID of the repository.
|
RepositoryMetadata |
withRepositoryName(String repositoryName)
The repository's name.
|
public void setAccountId(String accountId)
The ID of the AWS account associated with the repository.
accountId
- The ID of the AWS account associated with the repository.public String getAccountId()
The ID of the AWS account associated with the repository.
public RepositoryMetadata withAccountId(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(String repositoryId)
The ID of the repository.
repositoryId
- The ID of the repository.public String getRepositoryId()
The ID of the repository.
public RepositoryMetadata withRepositoryId(String repositoryId)
The ID of the repository.
repositoryId
- The ID of the repository.public void setRepositoryName(String repositoryName)
The repository's name.
repositoryName
- The repository's name.public String getRepositoryName()
The repository's name.
public RepositoryMetadata withRepositoryName(String repositoryName)
The repository's name.
repositoryName
- The repository's name.public void setRepositoryDescription(String repositoryDescription)
A comment or description about the repository.
repositoryDescription
- A comment or description about the repository.public String getRepositoryDescription()
A comment or description about the repository.
public RepositoryMetadata withRepositoryDescription(String repositoryDescription)
A comment or description about the repository.
repositoryDescription
- A comment or description about the repository.public void setDefaultBranch(String defaultBranch)
The repository's default branch name.
defaultBranch
- The repository's default branch name.public String getDefaultBranch()
The repository's default branch name.
public RepositoryMetadata withDefaultBranch(String defaultBranch)
The repository's default branch name.
defaultBranch
- The repository's default branch name.public void setLastModifiedDate(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 Date getLastModifiedDate()
The date and time the repository was last modified, in timestamp format.
public RepositoryMetadata withLastModifiedDate(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(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 Date getCreationDate()
The date and time the repository was created, in timestamp format.
public RepositoryMetadata withCreationDate(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(String cloneUrlHttp)
The URL to use for cloning the repository over HTTPS.
cloneUrlHttp
- The URL to use for cloning the repository over HTTPS.public String getCloneUrlHttp()
The URL to use for cloning the repository over HTTPS.
public RepositoryMetadata withCloneUrlHttp(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(String cloneUrlSsh)
The URL to use for cloning the repository over SSH.
cloneUrlSsh
- The URL to use for cloning the repository over SSH.public String getCloneUrlSsh()
The URL to use for cloning the repository over SSH.
public RepositoryMetadata withCloneUrlSsh(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(String arn)
The Amazon Resource Name (ARN) of the repository.
arn
- The Amazon Resource Name (ARN) of the repository.public String getArn()
The Amazon Resource Name (ARN) of the repository.
public RepositoryMetadata withArn(String arn)
The Amazon Resource Name (ARN) of the repository.
arn
- The Amazon Resource Name (ARN) of the repository.public String toString()
toString
in class Object
Object.toString()
public RepositoryMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.