Class Image
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Image.Builder,
Image>
A SageMaker image. A SageMaker image represents a set of container images that are derived from a common base
container image. Each of these container images is represented by a SageMaker ImageVersion
.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Image.Builder
builder()
final Instant
When the image was created.final String
The description of the image.final String
The name of the image as displayed.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
When a create, update, or delete operation fails, the reason for the failure.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
imageArn()
The ARN of the image.final String
The name of the image.final ImageStatus
The status of the image.final String
The status of the image.final Instant
When the image was last modified.static Class
<? extends Image.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
creationTime
When the image was created.
- Returns:
- When the image was created.
-
description
The description of the image.
- Returns:
- The description of the image.
-
displayName
The name of the image as displayed.
- Returns:
- The name of the image as displayed.
-
failureReason
When a create, update, or delete operation fails, the reason for the failure.
- Returns:
- When a create, update, or delete operation fails, the reason for the failure.
-
imageArn
-
imageName
-
imageStatus
The status of the image.
If the service returns an enum value that is not available in the current SDK version,
imageStatus
will returnImageStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromimageStatusAsString()
.- Returns:
- The status of the image.
- See Also:
-
imageStatusAsString
The status of the image.
If the service returns an enum value that is not available in the current SDK version,
imageStatus
will returnImageStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromimageStatusAsString()
.- Returns:
- The status of the image.
- See Also:
-
lastModifiedTime
When the image was last modified.
- Returns:
- When the image was last modified.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<Image.Builder,
Image> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-