public class UpdateVolumeRequest extends AmazonWebServiceRequest implements Serializable
UpdateVolume operation
.
Updates an Amazon EBS volume's name or mount point. For more information, see .
Constructor and Description |
---|
UpdateVolumeRequest() |
Modifier and Type | Method and Description |
---|---|
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; useful for testing and
debugging.
|
UpdateVolumeRequest |
withMountPoint(String mountPoint)
The new mount point.
|
UpdateVolumeRequest |
withName(String name)
The new name.
|
UpdateVolumeRequest |
withVolumeId(String volumeId)
The volume ID.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getVolumeId()
public void setVolumeId(String volumeId)
volumeId
- The volume ID.public UpdateVolumeRequest withVolumeId(String volumeId)
Returns a reference to this object so that method calls can be chained together.
volumeId
- The volume ID.public String getName()
public void setName(String name)
name
- The new name.public UpdateVolumeRequest withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The new name.public String getMountPoint()
public void setMountPoint(String mountPoint)
mountPoint
- The new mount point.public UpdateVolumeRequest withMountPoint(String mountPoint)
Returns a reference to this object so that method calls can be chained together.
mountPoint
- The new mount point.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.