Class RepositoryNameIdPair
- java.lang.Object
-
- com.amazonaws.services.codecommit.model.RepositoryNameIdPair
-
- All Implemented Interfaces:
Serializable,Cloneable
public class RepositoryNameIdPair extends Object implements Serializable, Cloneable
Information about a repository name and ID.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RepositoryNameIdPair()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositoryNameIdPairclone()booleanequals(Object obj)StringgetRepositoryId()The ID associated with the repository.StringgetRepositoryName()The name associated with the repository.inthashCode()voidsetRepositoryId(String repositoryId)The ID associated with the repository.voidsetRepositoryName(String repositoryName)The name associated with the repository.StringtoString()Returns a string representation of this object; useful for testing and debugging.RepositoryNameIdPairwithRepositoryId(String repositoryId)The ID associated with the repository.RepositoryNameIdPairwithRepositoryName(String repositoryName)The name associated with the repository.
-
-
-
Method Detail
-
setRepositoryName
public void setRepositoryName(String repositoryName)
The name associated with the repository.
- Parameters:
repositoryName- The name associated with the repository.
-
getRepositoryName
public String getRepositoryName()
The name associated with the repository.
- Returns:
- The name associated with the repository.
-
withRepositoryName
public RepositoryNameIdPair withRepositoryName(String repositoryName)
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
public void setRepositoryId(String repositoryId)
The ID associated with the repository.
- Parameters:
repositoryId- The ID associated with the repository.
-
getRepositoryId
public String getRepositoryId()
The ID associated with the repository.
- Returns:
- The ID associated with the repository.
-
withRepositoryId
public RepositoryNameIdPair withRepositoryId(String repositoryId)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RepositoryNameIdPair clone()
-
-