@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DecimalValueWhenUnsetConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration that defines the default value of a Decimal
parameter when a value has not been set.
Constructor and Description |
---|
DecimalValueWhenUnsetConfiguration() |
Modifier and Type | Method and Description |
---|---|
DecimalValueWhenUnsetConfiguration |
clone() |
boolean |
equals(Object obj) |
Double |
getCustomValue()
A custom value that's used when the value of a parameter isn't set.
|
String |
getValueWhenUnsetOption()
The built-in options for default values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomValue(Double customValue)
A custom value that's used when the value of a parameter isn't set.
|
void |
setValueWhenUnsetOption(String valueWhenUnsetOption)
The built-in options for default values.
|
String |
toString()
Returns a string representation of this object.
|
DecimalValueWhenUnsetConfiguration |
withCustomValue(Double customValue)
A custom value that's used when the value of a parameter isn't set.
|
DecimalValueWhenUnsetConfiguration |
withValueWhenUnsetOption(String valueWhenUnsetOption)
The built-in options for default values.
|
DecimalValueWhenUnsetConfiguration |
withValueWhenUnsetOption(ValueWhenUnsetOption valueWhenUnsetOption)
The built-in options for default values.
|
public void setValueWhenUnsetOption(String valueWhenUnsetOption)
The built-in options for default values. The value can be one of the following:
RECOMMENDED
: The recommended value.
NULL
: The NULL
value.
valueWhenUnsetOption
- The built-in options for default values. The value can be one of the following:
RECOMMENDED
: The recommended value.
NULL
: The NULL
value.
ValueWhenUnsetOption
public String getValueWhenUnsetOption()
The built-in options for default values. The value can be one of the following:
RECOMMENDED
: The recommended value.
NULL
: The NULL
value.
RECOMMENDED
: The recommended value.
NULL
: The NULL
value.
ValueWhenUnsetOption
public DecimalValueWhenUnsetConfiguration withValueWhenUnsetOption(String valueWhenUnsetOption)
The built-in options for default values. The value can be one of the following:
RECOMMENDED
: The recommended value.
NULL
: The NULL
value.
valueWhenUnsetOption
- The built-in options for default values. The value can be one of the following:
RECOMMENDED
: The recommended value.
NULL
: The NULL
value.
ValueWhenUnsetOption
public DecimalValueWhenUnsetConfiguration withValueWhenUnsetOption(ValueWhenUnsetOption valueWhenUnsetOption)
The built-in options for default values. The value can be one of the following:
RECOMMENDED
: The recommended value.
NULL
: The NULL
value.
valueWhenUnsetOption
- The built-in options for default values. The value can be one of the following:
RECOMMENDED
: The recommended value.
NULL
: The NULL
value.
ValueWhenUnsetOption
public void setCustomValue(Double customValue)
A custom value that's used when the value of a parameter isn't set.
customValue
- A custom value that's used when the value of a parameter isn't set.public Double getCustomValue()
A custom value that's used when the value of a parameter isn't set.
public DecimalValueWhenUnsetConfiguration withCustomValue(Double customValue)
A custom value that's used when the value of a parameter isn't set.
customValue
- A custom value that's used when the value of a parameter isn't set.public String toString()
toString
in class Object
Object.toString()
public DecimalValueWhenUnsetConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.