@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateRepositoryNameRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of an update repository description operation.
NOOP| Constructor and Description |
|---|
UpdateRepositoryNameRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateRepositoryNameRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getNewName()
The new name for the repository.
|
String |
getOldName()
The current name of the repository.
|
int |
hashCode() |
void |
setNewName(String newName)
The new name for the repository.
|
void |
setOldName(String oldName)
The current name of the repository.
|
String |
toString()
Returns a string representation of this object.
|
UpdateRepositoryNameRequest |
withNewName(String newName)
The new name for the repository.
|
UpdateRepositoryNameRequest |
withOldName(String oldName)
The current name of the repository.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setOldName(String oldName)
The current name of the repository.
oldName - The current name of the repository.public String getOldName()
The current name of the repository.
public UpdateRepositoryNameRequest withOldName(String oldName)
The current name of the repository.
oldName - The current name of the repository.public void setNewName(String newName)
The new name for the repository.
newName - The new name for the repository.public String getNewName()
The new name for the repository.
public UpdateRepositoryNameRequest withNewName(String newName)
The new name for the repository.
newName - The new name for the repository.public String toString()
toString in class ObjectObject.toString()public UpdateRepositoryNameRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()