/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.sagemaker.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Summary of the deployment configuration of a model. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ModelVariantConfigSummary implements Serializable, Cloneable, StructuredPojo { /** ** The name of the Amazon SageMaker Model entity. *
*/ private String modelName; /** ** The name of the variant. *
*/ private String variantName; /** ** The configuration of the infrastructure that the model has been deployed to. *
*/ private ModelInfrastructureConfig infrastructureConfig; /** ** 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.
*
* The name of the Amazon SageMaker Model entity. *
* * @param modelName * The name of the Amazon SageMaker Model entity. */ public void setModelName(String modelName) { this.modelName = modelName; } /** ** The name of the Amazon SageMaker Model entity. *
* * @return The name of the Amazon SageMaker Model entity. */ public String getModelName() { return this.modelName; } /** ** The name of the Amazon SageMaker Model entity. *
* * @param modelName * The name of the Amazon SageMaker Model entity. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelVariantConfigSummary withModelName(String modelName) { setModelName(modelName); return this; } /** ** The name of the variant. *
* * @param variantName * The name of the variant. */ public void setVariantName(String variantName) { this.variantName = variantName; } /** ** The name of the variant. *
* * @return The name of the variant. */ public String getVariantName() { return this.variantName; } /** ** The name of the variant. *
* * @param variantName * The name of the variant. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelVariantConfigSummary withVariantName(String variantName) { setVariantName(variantName); return this; } /** ** The configuration of the infrastructure that the model has been deployed to. *
* * @param infrastructureConfig * The configuration of the infrastructure that the model has been deployed to. */ public void setInfrastructureConfig(ModelInfrastructureConfig infrastructureConfig) { this.infrastructureConfig = infrastructureConfig; } /** ** The configuration of the infrastructure that the model has been deployed to. *
* * @return The configuration of the infrastructure that the model has been deployed to. */ public ModelInfrastructureConfig getInfrastructureConfig() { return this.infrastructureConfig; } /** ** The configuration of the infrastructure that the model has been deployed to. *
* * @param infrastructureConfig * The configuration of the infrastructure that the model has been deployed to. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelVariantConfigSummary withInfrastructureConfig(ModelInfrastructureConfig infrastructureConfig) { setInfrastructureConfig(infrastructureConfig); return this; } /** ** 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*