@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 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 final Instant creationTime()
When the version was created.
public final String failureReason()
When a create or delete operation fails, the reason for the failure.
public final String imageArn()
The ARN of the image the version is based on.
public final String imageVersionArn()
The ARN of the version.
public final 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 final 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 final Instant lastModifiedTime()
When the version was last modified.
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.