@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateVolumeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateVolumeRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateVolumeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getMountPoint()
The new mount point.
|
String |
getName()
The new name.
|
String |
getVolumeId()
The volume ID.
|
int |
hashCode() |
void |
setMountPoint(String mountPoint)
The new mount point.
|
void |
setName(String name)
The new name.
|
void |
setVolumeId(String volumeId)
The volume ID.
|
String |
toString()
Returns a string representation of this object.
|
UpdateVolumeRequest |
withMountPoint(String mountPoint)
The new mount point.
|
UpdateVolumeRequest |
withName(String name)
The new name.
|
UpdateVolumeRequest |
withVolumeId(String volumeId)
The volume ID.
|
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 setVolumeId(String volumeId)
The volume ID.
volumeId
- The volume ID.public String getVolumeId()
The volume ID.
public UpdateVolumeRequest withVolumeId(String volumeId)
The volume ID.
volumeId
- The volume ID.public void setName(String name)
The new name. Volume names can be a maximum of 128 characters.
name
- The new name. Volume names can be a maximum of 128 characters.public String getName()
The new name. Volume names can be a maximum of 128 characters.
public UpdateVolumeRequest withName(String name)
The new name. Volume names can be a maximum of 128 characters.
name
- The new name. Volume names can be a maximum of 128 characters.public void setMountPoint(String mountPoint)
The new mount point.
mountPoint
- The new mount point.public String getMountPoint()
The new mount point.
public UpdateVolumeRequest withMountPoint(String mountPoint)
The new mount point.
mountPoint
- The new mount point.public String toString()
toString
in class Object
Object.toString()
public UpdateVolumeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()