@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ShadowModeConfig extends Object implements Serializable, Cloneable, StructuredPojo
Shows which variant is a production variant and which variant is a shadow variant. For shadow variants, also shows the sampling percentages.
Constructor and Description |
---|
ShadowModeConfig() |
Modifier and Type | Method and Description |
---|---|
ShadowModeConfig |
clone() |
boolean |
equals(Object obj) |
List<ShadowModelVariantConfig> |
getShadowModelVariants()
List of shadow variant configurations.
|
String |
getSourceModelVariantName()
The name of the production variant.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setShadowModelVariants(Collection<ShadowModelVariantConfig> shadowModelVariants)
List of shadow variant configurations.
|
void |
setSourceModelVariantName(String sourceModelVariantName)
The name of the production variant.
|
String |
toString()
Returns a string representation of this object.
|
ShadowModeConfig |
withShadowModelVariants(Collection<ShadowModelVariantConfig> shadowModelVariants)
List of shadow variant configurations.
|
ShadowModeConfig |
withShadowModelVariants(ShadowModelVariantConfig... shadowModelVariants)
List of shadow variant configurations.
|
ShadowModeConfig |
withSourceModelVariantName(String sourceModelVariantName)
The name of the production variant.
|
public void setSourceModelVariantName(String sourceModelVariantName)
The name of the production variant.
sourceModelVariantName
- The name of the production variant.public String getSourceModelVariantName()
The name of the production variant.
public ShadowModeConfig withSourceModelVariantName(String sourceModelVariantName)
The name of the production variant.
sourceModelVariantName
- The name of the production variant.public List<ShadowModelVariantConfig> getShadowModelVariants()
List of shadow variant configurations.
public void setShadowModelVariants(Collection<ShadowModelVariantConfig> shadowModelVariants)
List of shadow variant configurations.
shadowModelVariants
- List of shadow variant configurations.public ShadowModeConfig withShadowModelVariants(ShadowModelVariantConfig... shadowModelVariants)
List of shadow variant configurations.
NOTE: This method appends the values to the existing list (if any). Use
setShadowModelVariants(java.util.Collection)
or withShadowModelVariants(java.util.Collection)
if you want to override the existing values.
shadowModelVariants
- List of shadow variant configurations.public ShadowModeConfig withShadowModelVariants(Collection<ShadowModelVariantConfig> shadowModelVariants)
List of shadow variant configurations.
shadowModelVariants
- List of shadow variant configurations.public String toString()
toString
in class Object
Object.toString()
public ShadowModeConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.