@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VariationConfig extends Object implements Serializable, Cloneable, StructuredPojo
This structure contains the name and variation value of one variation of a feature.
Constructor and Description |
---|
VariationConfig() |
Modifier and Type | Method and Description |
---|---|
VariationConfig |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the variation.
|
VariableValue |
getValue()
The value assigned to this variation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the variation.
|
void |
setValue(VariableValue value)
The value assigned to this variation.
|
String |
toString()
Returns a string representation of this object.
|
VariationConfig |
withName(String name)
The name of the variation.
|
VariationConfig |
withValue(VariableValue value)
The value assigned to this variation.
|
public void setName(String name)
The name of the variation.
name
- The name of the variation.public String getName()
The name of the variation.
public VariationConfig withName(String name)
The name of the variation.
name
- The name of the variation.public void setValue(VariableValue value)
The value assigned to this variation.
value
- The value assigned to this variation.public VariableValue getValue()
The value assigned to this variation.
public VariationConfig withValue(VariableValue value)
The value assigned to this variation.
value
- The value assigned to this variation.public String toString()
toString
in class Object
Object.toString()
public VariationConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.