|
||||||||||
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.AssignVolumeRequest
public class AssignVolumeRequest
Container for the parameters to the AssignVolume operation
.
Assigns one of the stack's registered Amazon EBS volumes to a specified instance. The volume must first be registered with the stack by calling RegisterVolume. 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.assignVolume(AssignVolumeRequest)
,
Serialized FormConstructor Summary | |
---|---|
AssignVolumeRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getInstanceId()
The instance ID. |
String |
getVolumeId()
The volume ID. |
int |
hashCode()
|
void |
setInstanceId(String instanceId)
The instance ID. |
void |
setVolumeId(String volumeId)
The volume ID. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AssignVolumeRequest |
withInstanceId(String instanceId)
The instance ID. |
AssignVolumeRequest |
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 AssignVolumeRequest()
Method Detail |
---|
public String getVolumeId()
public void setVolumeId(String volumeId)
volumeId
- The volume ID.public AssignVolumeRequest withVolumeId(String volumeId)
Returns a reference to this object so that method calls can be chained together.
volumeId
- The volume ID.
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The instance ID.public AssignVolumeRequest withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The instance 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 |