@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ShadowModelVariantConfig extends Object implements Serializable, Cloneable, StructuredPojo
The name and sampling percentage of a shadow variant.
Constructor and Description |
---|
ShadowModelVariantConfig() |
Modifier and Type | Method and Description |
---|---|
ShadowModelVariantConfig |
clone() |
boolean |
equals(Object obj) |
Integer |
getSamplingPercentage()
The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow
variant.
|
String |
getShadowModelVariantName()
The name of the shadow variant.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSamplingPercentage(Integer samplingPercentage)
The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow
variant.
|
void |
setShadowModelVariantName(String shadowModelVariantName)
The name of the shadow variant.
|
String |
toString()
Returns a string representation of this object.
|
ShadowModelVariantConfig |
withSamplingPercentage(Integer samplingPercentage)
The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow
variant.
|
ShadowModelVariantConfig |
withShadowModelVariantName(String shadowModelVariantName)
The name of the shadow variant.
|
public void setShadowModelVariantName(String shadowModelVariantName)
The name of the shadow variant.
shadowModelVariantName
- The name of the shadow variant.public String getShadowModelVariantName()
The name of the shadow variant.
public ShadowModelVariantConfig withShadowModelVariantName(String shadowModelVariantName)
The name of the shadow variant.
shadowModelVariantName
- The name of the shadow variant.public void setSamplingPercentage(Integer samplingPercentage)
The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow variant.
samplingPercentage
- The percentage of inference requests that Amazon SageMaker replicates from the production variant to the
shadow variant.public Integer getSamplingPercentage()
The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow variant.
public ShadowModelVariantConfig withSamplingPercentage(Integer samplingPercentage)
The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow variant.
samplingPercentage
- The percentage of inference requests that Amazon SageMaker replicates from the production variant to the
shadow variant.public String toString()
toString
in class Object
Object.toString()
public ShadowModelVariantConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.