|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.opsworks.model.UpdateVolumeRequest
public class UpdateVolumeRequest
Container for the parameters to the UpdateVolume operation
.
Updates an Amazon EBS volume's name or mount point. For more information, see Resource Management .
Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .
AWSOpsWorks.updateVolume(UpdateVolumeRequest)
,
Serialized FormConstructor Summary | |
---|---|
UpdateVolumeRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UpdateVolumeRequest()
Method Detail |
---|
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |