public class CreateRepositoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a create repository operation.
NOOP
Constructor and Description |
---|
CreateRepositoryRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRepositoryRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getRepositoryDescription()
A comment or description about the new repository.
|
String |
getRepositoryName()
The name of the new repository to be created.
|
int |
hashCode() |
void |
setRepositoryDescription(String repositoryDescription)
A comment or description about the new repository.
|
void |
setRepositoryName(String repositoryName)
The name of the new repository to be created.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateRepositoryRequest |
withRepositoryDescription(String repositoryDescription)
A comment or description about the new repository.
|
CreateRepositoryRequest |
withRepositoryName(String repositoryName)
The name of the new repository to be created.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public void setRepositoryName(String repositoryName)
The name of the new repository to be created.
repositoryName
- The name of the new repository to be created. public String getRepositoryName()
The name of the new repository to be created.
public CreateRepositoryRequest withRepositoryName(String repositoryName)
The name of the new repository to be created.
repositoryName
- The name of the new repository to be created. public void setRepositoryDescription(String repositoryDescription)
A comment or description about the new repository.
repositoryDescription
- A comment or description about the new repository.public String getRepositoryDescription()
A comment or description about the new repository.
public CreateRepositoryRequest withRepositoryDescription(String repositoryDescription)
A comment or description about the new repository.
repositoryDescription
- A comment or description about the new repository.public String toString()
toString
in class Object
Object.toString()
public CreateRepositoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.