@Generated(value="software.amazon.awssdk:codegen") public final class DescribeImageAttributeResponse extends Ec2Response implements ToCopyableBuilder<DescribeImageAttributeResponse.Builder,DescribeImageAttributeResponse>
Describes an image attribute.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeImageAttributeResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<BlockDeviceMapping> |
blockDeviceMappings()
The block device mapping entries.
|
AttributeValue |
bootMode()
Returns the value of the BootMode property for this object.
|
static DescribeImageAttributeResponse.Builder |
builder() |
AttributeValue |
description()
A description for the AMI.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasBlockDeviceMappings()
Returns true if the BlockDeviceMappings property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasLaunchPermissions()
Returns true if the LaunchPermissions property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasProductCodes()
Returns true if the ProductCodes property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
String |
imageId()
The ID of the AMI.
|
AttributeValue |
kernelId()
The kernel ID.
|
List<LaunchPermission> |
launchPermissions()
The launch permissions.
|
List<ProductCode> |
productCodes()
The product codes.
|
AttributeValue |
ramdiskId()
The RAM disk ID.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeImageAttributeResponse.Builder> |
serializableBuilderClass() |
AttributeValue |
sriovNetSupport()
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
|
DescribeImageAttributeResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasBlockDeviceMappings()
public final List<BlockDeviceMapping> blockDeviceMappings()
The block device mapping entries.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasBlockDeviceMappings() to see if a value was sent in this field.
public final String imageId()
The ID of the AMI.
public final boolean hasLaunchPermissions()
public final List<LaunchPermission> launchPermissions()
The launch permissions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasLaunchPermissions() to see if a value was sent in this field.
public final boolean hasProductCodes()
public final List<ProductCode> productCodes()
The product codes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasProductCodes() to see if a value was sent in this field.
public final AttributeValue description()
A description for the AMI.
public final AttributeValue kernelId()
The kernel ID.
public final AttributeValue ramdiskId()
The RAM disk ID.
public final AttributeValue sriovNetSupport()
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
public final AttributeValue bootMode()
public DescribeImageAttributeResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeImageAttributeResponse.Builder,DescribeImageAttributeResponse>toBuilder in class AwsResponsepublic static DescribeImageAttributeResponse.Builder builder()
public static Class<? extends DescribeImageAttributeResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic 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 SdkResponseCopyright © 2021. All rights reserved.