Class ModelCardVersionSummary
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.ModelCardVersionSummary
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ModelCardVersionSummary.Builder,ModelCardVersionSummary>
@Generated("software.amazon.awssdk:codegen") public final class ModelCardVersionSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ModelCardVersionSummary.Builder,ModelCardVersionSummary>
A summary of a specific version of the model card.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ModelCardVersionSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelCardVersionSummary.Builder
builder()
Instant
creationTime()
The date and time that the model card version was created.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Instant
lastModifiedTime()
The time date and time that the model card version was last modified.String
modelCardArn()
The Amazon Resource Name (ARN) of the model card.String
modelCardName()
The name of the model card.ModelCardStatus
modelCardStatus()
The approval status of the model card version within your organization.String
modelCardStatusAsString()
The approval status of the model card version within your organization.Integer
modelCardVersion()
A version of the model card.List<SdkField<?>>
sdkFields()
static Class<? extends ModelCardVersionSummary.Builder>
serializableBuilderClass()
ModelCardVersionSummary.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
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
-
modelCardName
public final String modelCardName()
The name of the model card.
- Returns:
- The name of the model card.
-
modelCardArn
public final String modelCardArn()
The Amazon Resource Name (ARN) of the model card.
- Returns:
- The Amazon Resource Name (ARN) of the model card.
-
modelCardStatus
public final ModelCardStatus modelCardStatus()
The approval status of the model card version within your organization. Different organizations might have different criteria for model card review and approval.
-
Draft
: The model card is a work in progress. -
PendingReview
: The model card is pending review. -
Approved
: The model card is approved. -
Archived
: The model card is archived. No more updates should be made to the model card, but it can still be exported.
If the service returns an enum value that is not available in the current SDK version,
modelCardStatus
will returnModelCardStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommodelCardStatusAsString()
.- Returns:
- The approval status of the model card version within your organization. Different organizations might
have different criteria for model card review and approval.
-
Draft
: The model card is a work in progress. -
PendingReview
: The model card is pending review. -
Approved
: The model card is approved. -
Archived
: The model card is archived. No more updates should be made to the model card, but it can still be exported.
-
- See Also:
ModelCardStatus
-
-
modelCardStatusAsString
public final String modelCardStatusAsString()
The approval status of the model card version within your organization. Different organizations might have different criteria for model card review and approval.
-
Draft
: The model card is a work in progress. -
PendingReview
: The model card is pending review. -
Approved
: The model card is approved. -
Archived
: The model card is archived. No more updates should be made to the model card, but it can still be exported.
If the service returns an enum value that is not available in the current SDK version,
modelCardStatus
will returnModelCardStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommodelCardStatusAsString()
.- Returns:
- The approval status of the model card version within your organization. Different organizations might
have different criteria for model card review and approval.
-
Draft
: The model card is a work in progress. -
PendingReview
: The model card is pending review. -
Approved
: The model card is approved. -
Archived
: The model card is archived. No more updates should be made to the model card, but it can still be exported.
-
- See Also:
ModelCardStatus
-
-
modelCardVersion
public final Integer modelCardVersion()
A version of the model card.
- Returns:
- A version of the model card.
-
creationTime
public final Instant creationTime()
The date and time that the model card version was created.
- Returns:
- The date and time that the model card version was created.
-
lastModifiedTime
public final Instant lastModifiedTime()
The time date and time that the model card version was last modified.
- Returns:
- The time date and time that the model card version was last modified.
-
toBuilder
public ModelCardVersionSummary.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ModelCardVersionSummary.Builder,ModelCardVersionSummary>
-
builder
public static ModelCardVersionSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModelCardVersionSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-