@Generated(value="software.amazon.awssdk:codegen") public final class ModelPackageSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ModelPackageSummary.Builder,ModelPackageSummary>
Provides summary information about a model package.
Modifier and Type | Class and Description |
---|---|
static interface |
ModelPackageSummary.Builder |
Modifier and Type | Method and 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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ModelPackageSummary.Builder> |
serializableBuilderClass() |
ModelPackageSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String modelPackageName()
The name of the model package.
public final String modelPackageGroupName()
If the model package is a versioned model, the model group that the versioned model belongs to.
public final Integer modelPackageVersion()
If the model package is a versioned model, the version of the model.
public final String modelPackageArn()
The Amazon Resource Name (ARN) of the model package.
public final String modelPackageDescription()
A brief description of the model package.
public final Instant creationTime()
A timestamp that shows when the model package was created.
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 return ModelPackageStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from modelPackageStatusAsString()
.
ModelPackageStatus
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 return ModelPackageStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from modelPackageStatusAsString()
.
ModelPackageStatus
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 return ModelApprovalStatus.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from modelApprovalStatusAsString()
.
APPROVED
- The model is approved
REJECTED
- The model is rejected.
PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.
ModelApprovalStatus
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 return ModelApprovalStatus.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from modelApprovalStatusAsString()
.
APPROVED
- The model is approved
REJECTED
- The model is rejected.
PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.
ModelApprovalStatus
public ModelPackageSummary.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ModelPackageSummary.Builder,ModelPackageSummary>
public static ModelPackageSummary.Builder builder()
public static Class<? extends ModelPackageSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.