@Generated(value="software.amazon.awssdk:codegen") public final class ImageFile extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImageFile.Builder,ImageFile>
Contains an image file.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImageFile.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ImageFile.Builder |
builder() |
SdkBytes |
data()
The image file contents, represented as a base64-encoded string.
|
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 ImageFile.Builder> |
serializableBuilderClass() |
ImageFile.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ImageFileType |
type()
The file type of the image.
|
String |
typeAsString()
The file type of the image.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SdkBytes data()
The image file contents, represented as a base64-encoded string. The file size must be less than 1 MB.
public final ImageFileType type()
The file type of the image.
If the service returns an enum value that is not available in the current SDK version, type will return
ImageFileType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ImageFileTypepublic final String typeAsString()
The file type of the image.
If the service returns an enum value that is not available in the current SDK version, type will return
ImageFileType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ImageFileTypepublic ImageFile.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ImageFile.Builder,ImageFile>public static ImageFile.Builder builder()
public static Class<? extends ImageFile.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.