Class ModelVariantConfigSummary
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.ModelVariantConfigSummary
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ModelVariantConfigSummary.Builder,ModelVariantConfigSummary>
@Generated("software.amazon.awssdk:codegen") public final class ModelVariantConfigSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ModelVariantConfigSummary.Builder,ModelVariantConfigSummary>
Summary of the deployment configuration of a model.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ModelVariantConfigSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelVariantConfigSummary.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
ModelInfrastructureConfig
infrastructureConfig()
The configuration of the infrastructure that the model has been deployed to.String
modelName()
The name of the Amazon SageMaker Model entity.List<SdkField<?>>
sdkFields()
static Class<? extends ModelVariantConfigSummary.Builder>
serializableBuilderClass()
ModelVariantStatus
status()
The status of deployment for the model variant on the hosted inference endpoint.String
statusAsString()
The status of deployment for the model variant on the hosted inference endpoint.ModelVariantConfigSummary.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
variantName()
The name of the variant.-
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
-
modelName
public final String modelName()
The name of the Amazon SageMaker Model entity.
- Returns:
- The name of the Amazon SageMaker Model entity.
-
variantName
public final String variantName()
The name of the variant.
- Returns:
- The name of the variant.
-
infrastructureConfig
public final ModelInfrastructureConfig infrastructureConfig()
The configuration of the infrastructure that the model has been deployed to.
- Returns:
- The configuration of the infrastructure that the model has been deployed to.
-
status
public final ModelVariantStatus status()
The status of deployment for the model variant on the hosted inference endpoint.
-
Creating
- Amazon SageMaker is preparing the model variant on the hosted inference endpoint. -
InService
- The model variant is running on the hosted inference endpoint. -
Updating
- Amazon SageMaker is updating the model variant on the hosted inference endpoint. -
Deleting
- Amazon SageMaker is deleting the model variant on the hosted inference endpoint. -
Deleted
- The model variant has been deleted on the hosted inference endpoint. This can only happen after stopping the experiment.
If the service returns an enum value that is not available in the current SDK version,
status
will returnModelVariantStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of deployment for the model variant on the hosted inference endpoint.
-
Creating
- Amazon SageMaker is preparing the model variant on the hosted inference endpoint. -
InService
- The model variant is running on the hosted inference endpoint. -
Updating
- Amazon SageMaker is updating the model variant on the hosted inference endpoint. -
Deleting
- Amazon SageMaker is deleting the model variant on the hosted inference endpoint. -
Deleted
- The model variant has been deleted on the hosted inference endpoint. This can only happen after stopping the experiment.
-
- See Also:
ModelVariantStatus
-
-
statusAsString
public final String statusAsString()
The status of deployment for the model variant on the hosted inference endpoint.
-
Creating
- Amazon SageMaker is preparing the model variant on the hosted inference endpoint. -
InService
- The model variant is running on the hosted inference endpoint. -
Updating
- Amazon SageMaker is updating the model variant on the hosted inference endpoint. -
Deleting
- Amazon SageMaker is deleting the model variant on the hosted inference endpoint. -
Deleted
- The model variant has been deleted on the hosted inference endpoint. This can only happen after stopping the experiment.
If the service returns an enum value that is not available in the current SDK version,
status
will returnModelVariantStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of deployment for the model variant on the hosted inference endpoint.
-
Creating
- Amazon SageMaker is preparing the model variant on the hosted inference endpoint. -
InService
- The model variant is running on the hosted inference endpoint. -
Updating
- Amazon SageMaker is updating the model variant on the hosted inference endpoint. -
Deleting
- Amazon SageMaker is deleting the model variant on the hosted inference endpoint. -
Deleted
- The model variant has been deleted on the hosted inference endpoint. This can only happen after stopping the experiment.
-
- See Also:
ModelVariantStatus
-
-
toBuilder
public ModelVariantConfigSummary.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ModelVariantConfigSummary.Builder,ModelVariantConfigSummary>
-
builder
public static ModelVariantConfigSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModelVariantConfigSummary.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.
-
-