@Generated(value="software.amazon.awssdk:codegen") public final class DescribeVolumeAttributeRequest extends Ec2Request implements ToCopyableBuilder<DescribeVolumeAttributeRequest.Builder,DescribeVolumeAttributeRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeVolumeAttributeRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
VolumeAttributeName |
attribute()
The attribute of the volume.
|
String |
attributeAsString()
The attribute of the volume.
|
static DescribeVolumeAttributeRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeVolumeAttributeRequest.Builder> |
serializableBuilderClass() |
DescribeVolumeAttributeRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
volumeId()
The ID of the volume.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final VolumeAttributeName attribute()
The attribute of the volume. This parameter is required.
If the service returns an enum value that is not available in the current SDK version, attribute will
return VolumeAttributeName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from attributeAsString().
VolumeAttributeNamepublic final String attributeAsString()
The attribute of the volume. This parameter is required.
If the service returns an enum value that is not available in the current SDK version, attribute will
return VolumeAttributeName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from attributeAsString().
VolumeAttributeNamepublic final String volumeId()
The ID of the volume.
public DescribeVolumeAttributeRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeVolumeAttributeRequest.Builder,DescribeVolumeAttributeRequest>toBuilder in class Ec2Requestpublic static DescribeVolumeAttributeRequest.Builder builder()
public static Class<? extends DescribeVolumeAttributeRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.