Class CreateRepositoryResult
- java.lang.Object
-
- com.amazonaws.services.codecommit.model.CreateRepositoryResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CreateRepositoryResult extends Object implements Serializable, Cloneable
Represents the output of a create repository operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateRepositoryResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateRepositoryResult
clone()
boolean
equals(Object obj)
RepositoryMetadata
getRepositoryMetadata()
Information about the newly created repository.int
hashCode()
void
setRepositoryMetadata(RepositoryMetadata repositoryMetadata)
Information about the newly created repository.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateRepositoryResult
withRepositoryMetadata(RepositoryMetadata repositoryMetadata)
Information about the newly created repository.
-
-
-
Method Detail
-
setRepositoryMetadata
public void setRepositoryMetadata(RepositoryMetadata repositoryMetadata)
Information about the newly created repository.
- Parameters:
repositoryMetadata
- Information about the newly created repository.
-
getRepositoryMetadata
public RepositoryMetadata getRepositoryMetadata()
Information about the newly created repository.
- Returns:
- Information about the newly created repository.
-
withRepositoryMetadata
public CreateRepositoryResult withRepositoryMetadata(RepositoryMetadata repositoryMetadata)
Information about the newly created repository.
- Parameters:
repositoryMetadata
- Information about the newly created 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateRepositoryResult clone()
-
-