@Generated(value="software.amazon.awssdk:codegen") public final class ImageVersion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImageVersion.Builder,ImageVersion>
An image semantic version.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImageVersion.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the image semantic version.
|
static ImageVersion.Builder |
builder() |
String |
dateCreated()
The date at which this image semantic version was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the image semantic version.
|
String |
osVersion()
The operating system version of the instance.
|
String |
owner()
The owner of the image semantic version.
|
Platform |
platform()
The platform of the image semantic version.
|
String |
platformAsString()
The platform of the image semantic version.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ImageVersion.Builder> |
serializableBuilderClass() |
ImageVersion.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ImageType |
type()
Specifies whether this is an AMI or container image.
|
String |
typeAsString()
Specifies whether this is an AMI or container image.
|
String |
version()
The semantic version of the image semantic version.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the image semantic version.
public final String name()
The name of the image semantic version.
public final ImageType type()
Specifies whether this is an AMI or container image.
If the service returns an enum value that is not available in the current SDK version, type will return
ImageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ImageTypepublic final String typeAsString()
Specifies whether this is an AMI or container image.
If the service returns an enum value that is not available in the current SDK version, type will return
ImageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ImageTypepublic final String version()
The semantic version of the image semantic version.
public final Platform platform()
The platform of the image semantic version.
If the service returns an enum value that is not available in the current SDK version, platform will
return Platform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
platformAsString().
Platformpublic final String platformAsString()
The platform of the image semantic version.
If the service returns an enum value that is not available in the current SDK version, platform will
return Platform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
platformAsString().
Platformpublic final String osVersion()
The operating system version of the instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
public final String owner()
The owner of the image semantic version.
public final String dateCreated()
The date at which this image semantic version was created.
public ImageVersion.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ImageVersion.Builder,ImageVersion>public static ImageVersion.Builder builder()
public static Class<? extends ImageVersion.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.