@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RepositoryNameIdPair extends Object implements Serializable, Cloneable, StructuredPojo
Information about a repository name and ID.
| Constructor and Description |
|---|
RepositoryNameIdPair() |
| Modifier and Type | Method and Description |
|---|---|
RepositoryNameIdPair |
clone() |
boolean |
equals(Object obj) |
String |
getRepositoryId()
The ID associated with the repository.
|
String |
getRepositoryName()
The name associated with the repository.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setRepositoryId(String repositoryId)
The ID associated with the repository.
|
void |
setRepositoryName(String repositoryName)
The name associated with the repository.
|
String |
toString()
Returns a string representation of this object.
|
RepositoryNameIdPair |
withRepositoryId(String repositoryId)
The ID associated with the repository.
|
RepositoryNameIdPair |
withRepositoryName(String repositoryName)
The name associated with the repository.
|
public void setRepositoryName(String repositoryName)
The name associated with the repository.
repositoryName - The name associated with the repository.public String getRepositoryName()
The name associated with the repository.
public RepositoryNameIdPair withRepositoryName(String repositoryName)
The name associated with the repository.
repositoryName - The name associated with the repository.public void setRepositoryId(String repositoryId)
The ID associated with the repository.
repositoryId - The ID associated with the repository.public String getRepositoryId()
The ID associated with the repository.
public RepositoryNameIdPair withRepositoryId(String repositoryId)
The ID associated with the repository.
repositoryId - The ID associated with the repository.public String toString()
toString in class ObjectObject.toString()public RepositoryNameIdPair clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.