@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NumberAttributeConstraintsType extends Object implements Serializable, Cloneable, StructuredPojo
The minimum and maximum values of an attribute that is of the number data type.
Constructor and Description |
---|
NumberAttributeConstraintsType() |
Modifier and Type | Method and Description |
---|---|
NumberAttributeConstraintsType |
clone() |
boolean |
equals(Object obj) |
String |
getMaxValue()
The maximum length of a number attribute value.
|
String |
getMinValue()
The minimum value of an attribute that is of the number data type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaxValue(String maxValue)
The maximum length of a number attribute value.
|
void |
setMinValue(String minValue)
The minimum value of an attribute that is of the number data type.
|
String |
toString()
Returns a string representation of this object.
|
NumberAttributeConstraintsType |
withMaxValue(String maxValue)
The maximum length of a number attribute value.
|
NumberAttributeConstraintsType |
withMinValue(String minValue)
The minimum value of an attribute that is of the number data type.
|
public void setMinValue(String minValue)
The minimum value of an attribute that is of the number data type.
minValue
- The minimum value of an attribute that is of the number data type.public String getMinValue()
The minimum value of an attribute that is of the number data type.
public NumberAttributeConstraintsType withMinValue(String minValue)
The minimum value of an attribute that is of the number data type.
minValue
- The minimum value of an attribute that is of the number data type.public void setMaxValue(String maxValue)
The maximum length of a number attribute value. Must be a number less than or equal to 2^1023
,
represented as a string with a length of 131072 characters or fewer.
maxValue
- The maximum length of a number attribute value. Must be a number less than or equal to 2^1023
, represented as a string with a length of 131072 characters or fewer.public String getMaxValue()
The maximum length of a number attribute value. Must be a number less than or equal to 2^1023
,
represented as a string with a length of 131072 characters or fewer.
2^1023
, represented as a string with a length of 131072 characters or fewer.public NumberAttributeConstraintsType withMaxValue(String maxValue)
The maximum length of a number attribute value. Must be a number less than or equal to 2^1023
,
represented as a string with a length of 131072 characters or fewer.
maxValue
- The maximum length of a number attribute value. Must be a number less than or equal to 2^1023
, represented as a string with a length of 131072 characters or fewer.public String toString()
toString
in class Object
Object.toString()
public NumberAttributeConstraintsType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.