|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DescribeVolumeAttributeRequest
public class DescribeVolumeAttributeRequest
Container for the parameters to the DescribeVolumeAttribute operation
.
Describes the specified attribute of the specified volume. You can specify only one attribute at a time.
For more information about Amazon EBS volumes, see Amazon EBS Volumes in the Amazon Elastic Compute Cloud User Guide .
AmazonEC2.describeVolumeAttribute(DescribeVolumeAttributeRequest)
,
Serialized FormConstructor Summary | |
---|---|
DescribeVolumeAttributeRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAttribute()
The instance attribute. |
Request<DescribeVolumeAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only. |
java.lang.String |
getVolumeId()
The ID of the volume. |
int |
hashCode()
|
void |
setAttribute(java.lang.String attribute)
The instance attribute. |
void |
setAttribute(VolumeAttributeName attribute)
The instance attribute. |
void |
setVolumeId(java.lang.String volumeId)
The ID of the volume. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeVolumeAttributeRequest |
withAttribute(java.lang.String attribute)
The instance attribute. |
DescribeVolumeAttributeRequest |
withAttribute(VolumeAttributeName attribute)
The instance attribute. |
DescribeVolumeAttributeRequest |
withVolumeId(java.lang.String volumeId)
The ID of the volume. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeVolumeAttributeRequest()
Method Detail |
---|
public java.lang.String getVolumeId()
public void setVolumeId(java.lang.String volumeId)
volumeId
- The ID of the volume.public DescribeVolumeAttributeRequest withVolumeId(java.lang.String volumeId)
Returns a reference to this object so that method calls can be chained together.
volumeId
- The ID of the volume.
public java.lang.String getAttribute()
Constraints:
Allowed Values: autoEnableIO, productCodes
VolumeAttributeName
public void setAttribute(java.lang.String attribute)
Constraints:
Allowed Values: autoEnableIO, productCodes
attribute
- The instance attribute.VolumeAttributeName
public DescribeVolumeAttributeRequest withAttribute(java.lang.String attribute)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: autoEnableIO, productCodes
attribute
- The instance attribute.
VolumeAttributeName
public void setAttribute(VolumeAttributeName attribute)
Constraints:
Allowed Values: autoEnableIO, productCodes
attribute
- The instance attribute.VolumeAttributeName
public DescribeVolumeAttributeRequest withAttribute(VolumeAttributeName attribute)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: autoEnableIO, productCodes
attribute
- The instance attribute.
VolumeAttributeName
public Request<DescribeVolumeAttributeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeVolumeAttributeRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |