@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()
For responses, this returns true if the service returned a value for the BlockDeviceMappings property.
|
int |
hashCode() |
boolean |
hasLaunchPermissions()
For responses, this returns true if the service returned a value for the LaunchPermissions property.
|
boolean |
hasProductCodes()
For responses, this returns true if the service returned a value for the ProductCodes property.
|
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()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<BlockDeviceMapping> blockDeviceMappings()
The block device mapping entries.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasBlockDeviceMappings() method.
public final String imageId()
The ID of the AMI.
public final boolean hasLaunchPermissions()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<LaunchPermission> launchPermissions()
The launch permissions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasLaunchPermissions() method.
public final boolean hasProductCodes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ProductCode> productCodes()
The product codes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasProductCodes() method.
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 © 2022. All rights reserved.