|
||||||||||
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.RegisterVolumeRequest
public class RegisterVolumeRequest
Container for the parameters to the RegisterVolume operation
.
Registers an Amazon EBS volume with a specified stack. A volume can be registered with only one stack at a time. If the volume is already registered, you must first deregister it by calling DeregisterVolume. 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.registerVolume(RegisterVolumeRequest)
,
Serialized FormConstructor Summary | |
---|---|
RegisterVolumeRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getEc2VolumeId()
The Amazon EBS volume ID. |
String |
getStackId()
The stack ID. |
int |
hashCode()
|
void |
setEc2VolumeId(String ec2VolumeId)
The Amazon EBS volume ID. |
void |
setStackId(String stackId)
The stack ID. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
RegisterVolumeRequest |
withEc2VolumeId(String ec2VolumeId)
The Amazon EBS volume ID. |
RegisterVolumeRequest |
withStackId(String stackId)
The stack 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 RegisterVolumeRequest()
Method Detail |
---|
public String getEc2VolumeId()
public void setEc2VolumeId(String ec2VolumeId)
ec2VolumeId
- The Amazon EBS volume ID.public RegisterVolumeRequest withEc2VolumeId(String ec2VolumeId)
Returns a reference to this object so that method calls can be chained together.
ec2VolumeId
- The Amazon EBS volume ID.
public String getStackId()
public void setStackId(String stackId)
stackId
- The stack ID.public RegisterVolumeRequest withStackId(String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId
- The stack ID.
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 |