Class DescribeImageResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.sagemaker.model.SageMakerResponse
-
- software.amazon.awssdk.services.sagemaker.model.DescribeImageResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeImageResponse.Builder,DescribeImageResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeImageResponse extends SageMakerResponse implements ToCopyableBuilder<DescribeImageResponse.Builder,DescribeImageResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeImageResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeImageResponse.Builderbuilder()InstantcreationTime()When the image was created.Stringdescription()The description of the image.StringdisplayName()The name of the image as displayed.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureReason()When a create, update, or delete operation fails, the reason for the failure.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringimageArn()The ARN of the image.StringimageName()The name of the image.ImageStatusimageStatus()The status of the image.StringimageStatusAsString()The status of the image.InstantlastModifiedTime()When the image was last modified.StringroleArn()The ARN of the IAM role that enables Amazon SageMaker AI to perform tasks on your behalf.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DescribeImageResponse.Builder>serializableBuilderClass()DescribeImageResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.sagemaker.model.SageMakerResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
creationTime
public final Instant creationTime()
When the image was created.
- Returns:
- When the image was created.
-
description
public final String description()
The description of the image.
- Returns:
- The description of the image.
-
displayName
public final String displayName()
The name of the image as displayed.
- Returns:
- The name of the image as displayed.
-
failureReason
public final String 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
public final String imageArn()
The ARN of the image.
- Returns:
- The ARN of the image.
-
imageName
public final String imageName()
The name of the image.
- Returns:
- The name of the image.
-
imageStatus
public final ImageStatus imageStatus()
The status of the image.
If the service returns an enum value that is not available in the current SDK version,
imageStatuswill returnImageStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimageStatusAsString().- Returns:
- The status of the image.
- See Also:
ImageStatus
-
imageStatusAsString
public final String imageStatusAsString()
The status of the image.
If the service returns an enum value that is not available in the current SDK version,
imageStatuswill returnImageStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimageStatusAsString().- Returns:
- The status of the image.
- See Also:
ImageStatus
-
lastModifiedTime
public final Instant lastModifiedTime()
When the image was last modified.
- Returns:
- When the image was last modified.
-
roleArn
public final String roleArn()
The ARN of the IAM role that enables Amazon SageMaker AI to perform tasks on your behalf.
- Returns:
- The ARN of the IAM role that enables Amazon SageMaker AI to perform tasks on your behalf.
-
toBuilder
public DescribeImageResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeImageResponse.Builder,DescribeImageResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeImageResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeImageResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-