Class ModelPackageSummary
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.ModelPackageSummary
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ModelPackageSummary.Builder,ModelPackageSummary>
@Generated("software.amazon.awssdk:codegen") public final class ModelPackageSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ModelPackageSummary.Builder,ModelPackageSummary>
Provides summary information about a model package.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ModelPackageSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelPackageSummary.Builder
builder()
Instant
creationTime()
A timestamp that shows when the model package was created.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
ModelApprovalStatus
modelApprovalStatus()
The approval status of the model.String
modelApprovalStatusAsString()
The approval status of the model.String
modelPackageArn()
The Amazon Resource Name (ARN) of the model package.String
modelPackageDescription()
A brief description of the model package.String
modelPackageGroupName()
If the model package is a versioned model, the model group that the versioned model belongs to.String
modelPackageName()
The name of the model package.ModelPackageStatus
modelPackageStatus()
The overall status of the model package.String
modelPackageStatusAsString()
The overall status of the model package.Integer
modelPackageVersion()
If the model package is a versioned model, the version of the model.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends ModelPackageSummary.Builder>
serializableBuilderClass()
ModelPackageSummary.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
-
modelPackageName
public final String modelPackageName()
The name of the model package.
- Returns:
- The name of the model package.
-
modelPackageGroupName
public final String modelPackageGroupName()
If the model package is a versioned model, the model group that the versioned model belongs to.
- Returns:
- If the model package is a versioned model, the model group that the versioned model belongs to.
-
modelPackageVersion
public final Integer modelPackageVersion()
If the model package is a versioned model, the version of the model.
- Returns:
- If the model package is a versioned model, the version of the model.
-
modelPackageArn
public final String modelPackageArn()
The Amazon Resource Name (ARN) of the model package.
- Returns:
- The Amazon Resource Name (ARN) of the model package.
-
modelPackageDescription
public final String modelPackageDescription()
A brief description of the model package.
- Returns:
- A brief description of the model package.
-
creationTime
public final Instant creationTime()
A timestamp that shows when the model package was created.
- Returns:
- A timestamp that shows when the model package was created.
-
modelPackageStatus
public final ModelPackageStatus modelPackageStatus()
The overall status of the model package.
If the service returns an enum value that is not available in the current SDK version,
modelPackageStatus
will returnModelPackageStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommodelPackageStatusAsString()
.- Returns:
- The overall status of the model package.
- See Also:
ModelPackageStatus
-
modelPackageStatusAsString
public final String modelPackageStatusAsString()
The overall status of the model package.
If the service returns an enum value that is not available in the current SDK version,
modelPackageStatus
will returnModelPackageStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommodelPackageStatusAsString()
.- Returns:
- The overall status of the model package.
- See Also:
ModelPackageStatus
-
modelApprovalStatus
public final ModelApprovalStatus modelApprovalStatus()
The approval status of the model. This can be one of the following values.
-
APPROVED
- The model is approved -
REJECTED
- The model is rejected. -
PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.
If the service returns an enum value that is not available in the current SDK version,
modelApprovalStatus
will returnModelApprovalStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommodelApprovalStatusAsString()
.- Returns:
- The approval status of the model. This can be one of the following values.
-
APPROVED
- The model is approved -
REJECTED
- The model is rejected. -
PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.
-
- See Also:
ModelApprovalStatus
-
-
modelApprovalStatusAsString
public final String modelApprovalStatusAsString()
The approval status of the model. This can be one of the following values.
-
APPROVED
- The model is approved -
REJECTED
- The model is rejected. -
PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.
If the service returns an enum value that is not available in the current SDK version,
modelApprovalStatus
will returnModelApprovalStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommodelApprovalStatusAsString()
.- Returns:
- The approval status of the model. This can be one of the following values.
-
APPROVED
- The model is approved -
REJECTED
- The model is rejected. -
PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.
-
- See Also:
ModelApprovalStatus
-
-
toBuilder
public ModelPackageSummary.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ModelPackageSummary.Builder,ModelPackageSummary>
-
builder
public static ModelPackageSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModelPackageSummary.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-