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 interfaceModelCardVersionSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelCardVersionSummary.Builderbuilder()InstantcreationTime()The date and time that the model card version was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModifiedTime()The time date and time that the model card version was last modified.StringmodelCardArn()The Amazon Resource Name (ARN) of the model card.StringmodelCardName()The name of the model card.ModelCardStatusmodelCardStatus()The approval status of the model card version within your organization.StringmodelCardStatusAsString()The approval status of the model card version within your organization.IntegermodelCardVersion()A version of the model card.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ModelCardVersionSummary.Builder>serializableBuilderClass()ModelCardVersionSummary.BuildertoBuilder()StringtoString()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,
modelCardStatuswill 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,
modelCardStatuswill 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:
toBuilderin 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:
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-