public class UpdateRepositoryNameRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of an update repository description operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
newName
The new name for the repository.
|
private java.lang.String |
oldName
The existing name of the repository.
|
NOOP
Constructor and Description |
---|
UpdateRepositoryNameRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateRepositoryNameRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNewName()
The new name for the repository.
|
java.lang.String |
getOldName()
The existing name of the repository.
|
int |
hashCode() |
void |
setNewName(java.lang.String newName)
The new name for the repository.
|
void |
setOldName(java.lang.String oldName)
The existing name of the repository.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateRepositoryNameRequest |
withNewName(java.lang.String newName)
The new name for the repository.
|
UpdateRepositoryNameRequest |
withOldName(java.lang.String oldName)
The existing name of the repository.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String oldName
The existing name of the repository.
private java.lang.String newName
The new name for the repository.
public void setOldName(java.lang.String oldName)
The existing name of the repository.
oldName
- The existing name of the repository.public java.lang.String getOldName()
The existing name of the repository.
public UpdateRepositoryNameRequest withOldName(java.lang.String oldName)
The existing name of the repository.
oldName
- The existing name of the repository.public void setNewName(java.lang.String newName)
The new name for the repository.
newName
- The new name for the repository.public java.lang.String getNewName()
The new name for the repository.
public UpdateRepositoryNameRequest withNewName(java.lang.String newName)
The new name for the repository.
newName
- The new name for the repository.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateRepositoryNameRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()