public class RegisterVolumeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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 .
NOOP
Constructor and Description |
---|
RegisterVolumeRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterVolumeRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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 RegisterVolumeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.