public class UnassignVolumeRequest extends AmazonWebServiceRequest implements Serializable
UnassignVolume operation
.
Unassigns an assigned Amazon EBS volume. The volume remains registered with the stack. 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 .
Constructor and Description |
---|
UnassignVolumeRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getVolumeId()
The volume ID.
|
int |
hashCode() |
void |
setVolumeId(String volumeId)
The volume ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UnassignVolumeRequest |
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 UnassignVolumeRequest withVolumeId(String volumeId)
Returns a reference to this object so that method calls can be chained together.
volumeId
- The volume ID.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.