Class RepositoryMetadata
- All Implemented Interfaces:
Serializable
,Cloneable
Information about a repository.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ID of the AWS account associated with the repository.getArn()
The Amazon Resource Name (ARN) of the repository.The URL to use for cloning the repository over HTTPS.The URL to use for cloning the repository over SSH.The date and time the repository was created, in timestamp format.The repository's default branch name.The date and time the repository was last modified, in timestamp format.A comment or description about the repository.The ID of the repository.The repository's name.int
hashCode()
void
setAccountId
(String accountId) The ID of the AWS account associated with the repository.void
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.toString()
Returns a string representation of this object; useful for testing and debugging.withAccountId
(String accountId) The ID of the AWS account associated with the repository.The Amazon Resource Name (ARN) of the repository.withCloneUrlHttp
(String cloneUrlHttp) The URL to use for cloning the repository over HTTPS.withCloneUrlSsh
(String cloneUrlSsh) The URL to use for cloning the repository over SSH.withCreationDate
(Date creationDate) The date and time the repository was created, in timestamp format.withDefaultBranch
(String defaultBranch) The repository's default branch name.withLastModifiedDate
(Date lastModifiedDate) The date and time the repository was last modified, in timestamp format.withRepositoryDescription
(String repositoryDescription) A comment or description about the repository.withRepositoryId
(String repositoryId) The ID of the repository.withRepositoryName
(String repositoryName) The repository's name.
-
Constructor Details
-
RepositoryMetadata
public RepositoryMetadata()
-
-
Method Details
-
setAccountId
The ID of the AWS account associated with the repository.
- Parameters:
accountId
- The ID of the AWS account associated with the repository.
-
getAccountId
The ID of the AWS account associated with the repository.
- Returns:
- The ID of the AWS account associated with the repository.
-
withAccountId
The ID of the AWS account associated with the repository.
- Parameters:
accountId
- The ID of the AWS account associated with the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRepositoryId
The ID of the repository.
- Parameters:
repositoryId
- The ID of the repository.
-
getRepositoryId
The ID of the repository.
- Returns:
- The ID of the repository.
-
withRepositoryId
The ID of the repository.
- Parameters:
repositoryId
- The ID of the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRepositoryName
The repository's name.
- Parameters:
repositoryName
- The repository's name.
-
getRepositoryName
The repository's name.
- Returns:
- The repository's name.
-
withRepositoryName
The repository's name.
- Parameters:
repositoryName
- The repository's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRepositoryDescription
A comment or description about the repository.
- Parameters:
repositoryDescription
- A comment or description about the repository.
-
getRepositoryDescription
A comment or description about the repository.
- Returns:
- A comment or description about the repository.
-
withRepositoryDescription
A comment or description about the repository.
- Parameters:
repositoryDescription
- A comment or description about the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDefaultBranch
The repository's default branch name.
- Parameters:
defaultBranch
- The repository's default branch name.
-
getDefaultBranch
The repository's default branch name.
- Returns:
- The repository's default branch name.
-
withDefaultBranch
The repository's default branch name.
- Parameters:
defaultBranch
- The repository's default branch name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastModifiedDate
The date and time the repository was last modified, in timestamp format.
- Parameters:
lastModifiedDate
- The date and time the repository was last modified, in timestamp format.
-
getLastModifiedDate
The date and time the repository was last modified, in timestamp format.
- Returns:
- The date and time the repository was last modified, in timestamp format.
-
withLastModifiedDate
The date and time the repository was last modified, in timestamp format.
- Parameters:
lastModifiedDate
- The date and time the repository was last modified, in timestamp format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreationDate
The date and time the repository was created, in timestamp format.
- Parameters:
creationDate
- The date and time the repository was created, in timestamp format.
-
getCreationDate
The date and time the repository was created, in timestamp format.
- Returns:
- The date and time the repository was created, in timestamp format.
-
withCreationDate
The date and time the repository was created, in timestamp format.
- Parameters:
creationDate
- The date and time the repository was created, in timestamp format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCloneUrlHttp
The URL to use for cloning the repository over HTTPS.
- Parameters:
cloneUrlHttp
- The URL to use for cloning the repository over HTTPS.
-
getCloneUrlHttp
The URL to use for cloning the repository over HTTPS.
- Returns:
- The URL to use for cloning the repository over HTTPS.
-
withCloneUrlHttp
The URL to use for cloning the repository over HTTPS.
- Parameters:
cloneUrlHttp
- The URL to use for cloning the repository over HTTPS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCloneUrlSsh
The URL to use for cloning the repository over SSH.
- Parameters:
cloneUrlSsh
- The URL to use for cloning the repository over SSH.
-
getCloneUrlSsh
The URL to use for cloning the repository over SSH.
- Returns:
- The URL to use for cloning the repository over SSH.
-
withCloneUrlSsh
The URL to use for cloning the repository over SSH.
- Parameters:
cloneUrlSsh
- The URL to use for cloning the repository over SSH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setArn
The Amazon Resource Name (ARN) of the repository.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the repository.
-
getArn
The Amazon Resource Name (ARN) of the repository.
- Returns:
- The Amazon Resource Name (ARN) of the repository.
-
withArn
The Amazon Resource Name (ARN) of the repository.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-