@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValueMappings extends Object implements Serializable, Cloneable, StructuredPojo
Represents the data binding configuration for a value map.
Constructor and Description |
---|
ValueMappings() |
Modifier and Type | Method and Description |
---|---|
ValueMappings |
clone() |
boolean |
equals(Object obj) |
List<ValueMapping> |
getValues()
The value and display value pairs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setValues(Collection<ValueMapping> values)
The value and display value pairs.
|
String |
toString()
Returns a string representation of this object.
|
ValueMappings |
withValues(Collection<ValueMapping> values)
The value and display value pairs.
|
ValueMappings |
withValues(ValueMapping... values)
The value and display value pairs.
|
public List<ValueMapping> getValues()
The value and display value pairs.
public void setValues(Collection<ValueMapping> values)
The value and display value pairs.
values
- The value and display value pairs.public ValueMappings withValues(ValueMapping... values)
The value and display value pairs.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- The value and display value pairs.public ValueMappings withValues(Collection<ValueMapping> values)
The value and display value pairs.
values
- The value and display value pairs.public String toString()
toString
in class Object
Object.toString()
public ValueMappings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.