@Generated(value="software.amazon.awssdk:codegen") public final class Image extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Image.Builder,Image>
Contains an image that is one of the following:
An image file. Choose this option to upload a new image.
The ID of an existing image. Choose this option to keep an existing image.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Image.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Image.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ImageFile |
file()
Returns the value of the File property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of an existing image.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Image.Builder> |
serializableBuilderClass() |
Image.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of an existing image. Specify this parameter to keep an existing image.
public final ImageFile file()
public Image.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Image.Builder,Image>public static Image.Builder builder()
public static Class<? extends Image.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.