public class DescribeVolumeAttributeRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DescribeVolumeAttributeRequest>
DescribeVolumeAttribute operation
.Constructor and Description |
---|
DescribeVolumeAttributeRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAttribute()
Returns the value of the Attribute property for this object.
|
Request<DescribeVolumeAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getVolumeId()
Returns the value of the VolumeId property for this object.
|
int |
hashCode() |
void |
setAttribute(String attribute)
Sets the value of the Attribute property for this object.
|
void |
setAttribute(VolumeAttributeName attribute)
Sets the value of the Attribute property for this object.
|
void |
setVolumeId(String volumeId)
Sets the value of the VolumeId property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVolumeAttributeRequest |
withAttribute(String attribute)
Sets the value of the Attribute property for this object.
|
DescribeVolumeAttributeRequest |
withAttribute(VolumeAttributeName attribute)
Sets the value of the Attribute property for this object.
|
DescribeVolumeAttributeRequest |
withVolumeId(String volumeId)
Sets the value of the VolumeId property for this object.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getVolumeId()
public void setVolumeId(String volumeId)
volumeId
- The new value for the VolumeId property for this object.public DescribeVolumeAttributeRequest withVolumeId(String volumeId)
Returns a reference to this object so that method calls can be chained together.
volumeId
- The new value for the VolumeId property for this object.public String getAttribute()
Constraints:
Allowed Values: autoEnableIO, productCodes
VolumeAttributeName
public void setAttribute(String attribute)
Constraints:
Allowed Values: autoEnableIO, productCodes
attribute
- The new value for the Attribute property for this object.VolumeAttributeName
public DescribeVolumeAttributeRequest withAttribute(String attribute)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: autoEnableIO, productCodes
attribute
- The new value for the Attribute property for this object.VolumeAttributeName
public void setAttribute(VolumeAttributeName attribute)
Constraints:
Allowed Values: autoEnableIO, productCodes
attribute
- The new value for the Attribute property for this object.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 new value for the Attribute property for this object.VolumeAttributeName
public Request<DescribeVolumeAttributeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeVolumeAttributeRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.