com.amazonaws.services.opsworks.model
Class UnassignVolumeRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.opsworks.model.UnassignVolumeRequest
All Implemented Interfaces:
Serializable

public class UnassignVolumeRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the 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 .

See Also:
AWSOpsWorks.unassignVolume(UnassignVolumeRequest), Serialized Form

Constructor Summary
UnassignVolumeRequest()
           
 
Method Summary
 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.
 
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

UnassignVolumeRequest

public UnassignVolumeRequest()
Method Detail

getVolumeId

public String getVolumeId()
The volume ID.

Returns:
The volume ID.

setVolumeId

public void setVolumeId(String volumeId)
The volume ID.

Parameters:
volumeId - The volume ID.

withVolumeId

public UnassignVolumeRequest withVolumeId(String volumeId)
The volume ID.

Returns a reference to this object so that method calls can be chained together.

Parameters:
volumeId - The volume ID.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.