@Generated(value="software.amazon.awssdk:codegen") public final class DescribeImageAttributeRequest extends Ec2Request implements ToCopyableBuilder<DescribeImageAttributeRequest.Builder,DescribeImageAttributeRequest>
Contains the parameters for DescribeImageAttribute.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeImageAttributeRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
ImageAttributeName |
attribute()
The AMI attribute.
|
String |
attributeAsString()
The AMI attribute.
|
static DescribeImageAttributeRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
imageId()
The ID of the AMI.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeImageAttributeRequest.Builder> |
serializableBuilderClass() |
DescribeImageAttributeRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic ImageAttributeName attribute()
The AMI attribute.
Note: Depending on your account privileges, the blockDeviceMapping attribute may return a
Client.AuthFailure error. If this happens, use DescribeImages to get information about the
block device mapping for the AMI.
If the service returns an enum value that is not available in the current SDK version, attribute will
return ImageAttributeName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
attributeAsString().
Note: Depending on your account privileges, the blockDeviceMapping attribute may
return a Client.AuthFailure error. If this happens, use DescribeImages to get
information about the block device mapping for the AMI.
ImageAttributeNamepublic String attributeAsString()
The AMI attribute.
Note: Depending on your account privileges, the blockDeviceMapping attribute may return a
Client.AuthFailure error. If this happens, use DescribeImages to get information about the
block device mapping for the AMI.
If the service returns an enum value that is not available in the current SDK version, attribute will
return ImageAttributeName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
attributeAsString().
Note: Depending on your account privileges, the blockDeviceMapping attribute may
return a Client.AuthFailure error. If this happens, use DescribeImages to get
information about the block device mapping for the AMI.
ImageAttributeNamepublic String imageId()
The ID of the AMI.
public DescribeImageAttributeRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeImageAttributeRequest.Builder,DescribeImageAttributeRequest>toBuilder in class Ec2Requestpublic static DescribeImageAttributeRequest.Builder builder()
public static Class<? extends DescribeImageAttributeRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.