@Generated(value="software.amazon.awssdk:codegen") public final class ImageVersion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImageVersion.Builder,ImageVersion>
A version of a SageMaker Image. A version represents an existing container image.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImageVersion.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ImageVersion.Builder |
builder() |
Instant |
creationTime()
When the version was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureReason()
When a create or delete operation fails, the reason for the failure.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
imageArn()
The Amazon Resource Name (ARN) of the image the version is based on.
|
String |
imageVersionArn()
The ARN of the version.
|
ImageVersionStatus |
imageVersionStatus()
The status of the version.
|
String |
imageVersionStatusAsString()
The status of the version.
|
Instant |
lastModifiedTime()
When the version was last modified.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ImageVersion.Builder> |
serializableBuilderClass() |
ImageVersion.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
version()
The version number.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Instant creationTime()
When the version was created.
public String failureReason()
When a create or delete operation fails, the reason for the failure.
public String imageArn()
The Amazon Resource Name (ARN) of the image the version is based on.
public String imageVersionArn()
The ARN of the version.
public ImageVersionStatus imageVersionStatus()
The status of the version.
If the service returns an enum value that is not available in the current SDK version,
imageVersionStatus will return ImageVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from imageVersionStatusAsString().
ImageVersionStatuspublic String imageVersionStatusAsString()
The status of the version.
If the service returns an enum value that is not available in the current SDK version,
imageVersionStatus will return ImageVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from imageVersionStatusAsString().
ImageVersionStatuspublic Instant lastModifiedTime()
When the version was last modified.
public Integer version()
The version number.
public ImageVersion.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ImageVersion.Builder,ImageVersion>public static ImageVersion.Builder builder()
public static Class<? extends ImageVersion.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.