@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParameterValue extends Object implements Serializable, Cloneable, StructuredPojo
An object that includes the data type of a security control parameter and its current value.
Constructor and Description |
---|
ParameterValue() |
Modifier and Type | Method and Description |
---|---|
ParameterValue |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBoolean()
A control parameter that is a boolean.
|
Double |
getDouble()
A control parameter that is a double.
|
String |
getEnum()
A control parameter that is an enum.
|
List<String> |
getEnumList()
A control parameter that is a list of enums.
|
Integer |
getInteger()
A control parameter that is an integer.
|
List<Integer> |
getIntegerList()
A control parameter that is a list of integers.
|
String |
getString()
A control parameter that is a string.
|
List<String> |
getStringList()
A control parameter that is a list of strings.
|
int |
hashCode() |
Boolean |
isBoolean()
A control parameter that is a boolean.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBoolean(Boolean booleanValue)
A control parameter that is a boolean.
|
void |
setDouble(Double doubleValue)
A control parameter that is a double.
|
void |
setEnum(String enumValue)
A control parameter that is an enum.
|
void |
setEnumList(Collection<String> enumList)
A control parameter that is a list of enums.
|
void |
setInteger(Integer integer)
A control parameter that is an integer.
|
void |
setIntegerList(Collection<Integer> integerList)
A control parameter that is a list of integers.
|
void |
setString(String string)
A control parameter that is a string.
|
void |
setStringList(Collection<String> stringList)
A control parameter that is a list of strings.
|
String |
toString()
Returns a string representation of this object.
|
ParameterValue |
withBoolean(Boolean booleanValue)
A control parameter that is a boolean.
|
ParameterValue |
withDouble(Double doubleValue)
A control parameter that is a double.
|
ParameterValue |
withEnum(String enumValue)
A control parameter that is an enum.
|
ParameterValue |
withEnumList(Collection<String> enumList)
A control parameter that is a list of enums.
|
ParameterValue |
withEnumList(String... enumList)
A control parameter that is a list of enums.
|
ParameterValue |
withInteger(Integer integer)
A control parameter that is an integer.
|
ParameterValue |
withIntegerList(Collection<Integer> integerList)
A control parameter that is a list of integers.
|
ParameterValue |
withIntegerList(Integer... integerList)
A control parameter that is a list of integers.
|
ParameterValue |
withString(String string)
A control parameter that is a string.
|
ParameterValue |
withStringList(Collection<String> stringList)
A control parameter that is a list of strings.
|
ParameterValue |
withStringList(String... stringList)
A control parameter that is a list of strings.
|
public void setInteger(Integer integer)
A control parameter that is an integer.
integer
- A control parameter that is an integer.public Integer getInteger()
A control parameter that is an integer.
public ParameterValue withInteger(Integer integer)
A control parameter that is an integer.
integer
- A control parameter that is an integer.public List<Integer> getIntegerList()
A control parameter that is a list of integers.
public void setIntegerList(Collection<Integer> integerList)
A control parameter that is a list of integers.
integerList
- A control parameter that is a list of integers.public ParameterValue withIntegerList(Integer... integerList)
A control parameter that is a list of integers.
NOTE: This method appends the values to the existing list (if any). Use
setIntegerList(java.util.Collection)
or withIntegerList(java.util.Collection)
if you want to
override the existing values.
integerList
- A control parameter that is a list of integers.public ParameterValue withIntegerList(Collection<Integer> integerList)
A control parameter that is a list of integers.
integerList
- A control parameter that is a list of integers.public void setDouble(Double doubleValue)
A control parameter that is a double.
doubleValue
- A control parameter that is a double.public Double getDouble()
A control parameter that is a double.
public ParameterValue withDouble(Double doubleValue)
A control parameter that is a double.
doubleValue
- A control parameter that is a double.public void setString(String string)
A control parameter that is a string.
string
- A control parameter that is a string.public String getString()
A control parameter that is a string.
public ParameterValue withString(String string)
A control parameter that is a string.
string
- A control parameter that is a string.public List<String> getStringList()
A control parameter that is a list of strings.
public void setStringList(Collection<String> stringList)
A control parameter that is a list of strings.
stringList
- A control parameter that is a list of strings.public ParameterValue withStringList(String... stringList)
A control parameter that is a list of strings.
NOTE: This method appends the values to the existing list (if any). Use
setStringList(java.util.Collection)
or withStringList(java.util.Collection)
if you want to
override the existing values.
stringList
- A control parameter that is a list of strings.public ParameterValue withStringList(Collection<String> stringList)
A control parameter that is a list of strings.
stringList
- A control parameter that is a list of strings.public void setBoolean(Boolean booleanValue)
A control parameter that is a boolean.
booleanValue
- A control parameter that is a boolean.public Boolean getBoolean()
A control parameter that is a boolean.
public ParameterValue withBoolean(Boolean booleanValue)
A control parameter that is a boolean.
booleanValue
- A control parameter that is a boolean.public Boolean isBoolean()
A control parameter that is a boolean.
public void setEnum(String enumValue)
A control parameter that is an enum.
enumValue
- A control parameter that is an enum.public String getEnum()
A control parameter that is an enum.
public ParameterValue withEnum(String enumValue)
A control parameter that is an enum.
enumValue
- A control parameter that is an enum.public List<String> getEnumList()
A control parameter that is a list of enums.
public void setEnumList(Collection<String> enumList)
A control parameter that is a list of enums.
enumList
- A control parameter that is a list of enums.public ParameterValue withEnumList(String... enumList)
A control parameter that is a list of enums.
NOTE: This method appends the values to the existing list (if any). Use
setEnumList(java.util.Collection)
or withEnumList(java.util.Collection)
if you want to override
the existing values.
enumList
- A control parameter that is a list of enums.public ParameterValue withEnumList(Collection<String> enumList)
A control parameter that is a list of enums.
enumList
- A control parameter that is a list of enums.public String toString()
toString
in class Object
Object.toString()
public ParameterValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.