Class RepositoryNameIdPair
java.lang.Object
com.amazonaws.services.codecommit.model.RepositoryNameIdPair
- All Implemented Interfaces:
Serializable
,Cloneable
Information about a repository name and ID.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ID associated with the repository.The name associated with the repository.int
hashCode()
void
setRepositoryId
(String repositoryId) The ID associated with the repository.void
setRepositoryName
(String repositoryName) The name associated with the repository.toString()
Returns a string representation of this object; useful for testing and debugging.withRepositoryId
(String repositoryId) The ID associated with the repository.withRepositoryName
(String repositoryName) The name associated with the repository.
-
Constructor Details
-
RepositoryNameIdPair
public RepositoryNameIdPair()
-
-
Method Details
-
setRepositoryName
The name associated with the repository.
- Parameters:
repositoryName
- The name associated with the repository.
-
getRepositoryName
The name associated with the repository.
- Returns:
- The name associated with the repository.
-
withRepositoryName
The name associated with the repository.
- Parameters:
repositoryName
- The name associated with the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRepositoryId
The ID associated with the repository.
- Parameters:
repositoryId
- The ID associated with the repository.
-
getRepositoryId
The ID associated with the repository.
- Returns:
- The ID associated with the repository.
-
withRepositoryId
The ID associated with the repository.
- Parameters:
repositoryId
- The ID associated with 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
-