@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 existing name of the repository.
|
int |
hashCode() |
void |
setNewName(String newName)
The new name for the repository.
|
void |
setOldName(String oldName)
The existing name of the repository.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateRepositoryNameRequest |
withNewName(String newName)
The new name for the repository.
|
UpdateRepositoryNameRequest |
withOldName(String oldName)
The existing 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, withSdkRequestTimeout
public void setOldName(String oldName)
The existing name of the repository.
oldName
- The existing name of the repository.public String getOldName()
The existing name of the repository.
public UpdateRepositoryNameRequest withOldName(String oldName)
The existing name of the repository.
oldName
- The existing 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 Object
Object.toString()
public UpdateRepositoryNameRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.