@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModelVariantConfig extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the deployment options of a model.
Constructor and Description |
---|
ModelVariantConfig() |
Modifier and Type | Method and Description |
---|---|
ModelVariantConfig |
clone() |
boolean |
equals(Object obj) |
ModelInfrastructureConfig |
getInfrastructureConfig()
The configuration for the infrastructure that the model will be deployed to.
|
String |
getModelName()
The name of the Amazon SageMaker Model entity.
|
String |
getVariantName()
The name of the variant.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInfrastructureConfig(ModelInfrastructureConfig infrastructureConfig)
The configuration for the infrastructure that the model will be deployed to.
|
void |
setModelName(String modelName)
The name of the Amazon SageMaker Model entity.
|
void |
setVariantName(String variantName)
The name of the variant.
|
String |
toString()
Returns a string representation of this object.
|
ModelVariantConfig |
withInfrastructureConfig(ModelInfrastructureConfig infrastructureConfig)
The configuration for the infrastructure that the model will be deployed to.
|
ModelVariantConfig |
withModelName(String modelName)
The name of the Amazon SageMaker Model entity.
|
ModelVariantConfig |
withVariantName(String variantName)
The name of the variant.
|
public void setModelName(String modelName)
The name of the Amazon SageMaker Model entity.
modelName
- The name of the Amazon SageMaker Model entity.public String getModelName()
The name of the Amazon SageMaker Model entity.
public ModelVariantConfig withModelName(String modelName)
The name of the Amazon SageMaker Model entity.
modelName
- The name of the Amazon SageMaker Model entity.public void setVariantName(String variantName)
The name of the variant.
variantName
- The name of the variant.public String getVariantName()
The name of the variant.
public ModelVariantConfig withVariantName(String variantName)
The name of the variant.
variantName
- The name of the variant.public void setInfrastructureConfig(ModelInfrastructureConfig infrastructureConfig)
The configuration for the infrastructure that the model will be deployed to.
infrastructureConfig
- The configuration for the infrastructure that the model will be deployed to.public ModelInfrastructureConfig getInfrastructureConfig()
The configuration for the infrastructure that the model will be deployed to.
public ModelVariantConfig withInfrastructureConfig(ModelInfrastructureConfig infrastructureConfig)
The configuration for the infrastructure that the model will be deployed to.
infrastructureConfig
- The configuration for the infrastructure that the model will be deployed to.public String toString()
toString
in class Object
Object.toString()
public ModelVariantConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.