public class RegisterVolumeRequest extends AmazonWebServiceRequest implements Serializable
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 .
| Constructor and Description |
|---|
RegisterVolumeRequest() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic 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 ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.