@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CategoricalParameter extends Object implements Serializable, Cloneable, StructuredPojo
Environment parameters you want to benchmark your load test against.
Constructor and Description |
---|
CategoricalParameter() |
Modifier and Type | Method and Description |
---|---|
CategoricalParameter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The Name of the environment variable.
|
List<String> |
getValue()
The list of values you can pass.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The Name of the environment variable.
|
void |
setValue(Collection<String> value)
The list of values you can pass.
|
String |
toString()
Returns a string representation of this object.
|
CategoricalParameter |
withName(String name)
The Name of the environment variable.
|
CategoricalParameter |
withValue(Collection<String> value)
The list of values you can pass.
|
CategoricalParameter |
withValue(String... value)
The list of values you can pass.
|
public void setName(String name)
The Name of the environment variable.
name
- The Name of the environment variable.public String getName()
The Name of the environment variable.
public CategoricalParameter withName(String name)
The Name of the environment variable.
name
- The Name of the environment variable.public List<String> getValue()
The list of values you can pass.
public void setValue(Collection<String> value)
The list of values you can pass.
value
- The list of values you can pass.public CategoricalParameter withValue(String... value)
The list of values you can pass.
NOTE: This method appends the values to the existing list (if any). Use
setValue(java.util.Collection)
or withValue(java.util.Collection)
if you want to override the
existing values.
value
- The list of values you can pass.public CategoricalParameter withValue(Collection<String> value)
The list of values you can pass.
value
- The list of values you can pass.public String toString()
toString
in class Object
Object.toString()
public CategoricalParameter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.