@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CollectiveConstant extends Object implements Serializable, Cloneable, StructuredPojo
A structure that represents a collective constant.
Constructor and Description |
---|
CollectiveConstant() |
Modifier and Type | Method and Description |
---|---|
CollectiveConstant |
clone() |
boolean |
equals(Object obj) |
List<String> |
getValueList()
A list of values for the collective constant.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setValueList(Collection<String> valueList)
A list of values for the collective constant.
|
String |
toString()
Returns a string representation of this object.
|
CollectiveConstant |
withValueList(Collection<String> valueList)
A list of values for the collective constant.
|
CollectiveConstant |
withValueList(String... valueList)
A list of values for the collective constant.
|
public List<String> getValueList()
A list of values for the collective constant.
public void setValueList(Collection<String> valueList)
A list of values for the collective constant.
valueList
- A list of values for the collective constant.public CollectiveConstant withValueList(String... valueList)
A list of values for the collective constant.
NOTE: This method appends the values to the existing list (if any). Use
setValueList(java.util.Collection)
or withValueList(java.util.Collection)
if you want to
override the existing values.
valueList
- A list of values for the collective constant.public CollectiveConstant withValueList(Collection<String> valueList)
A list of values for the collective constant.
valueList
- A list of values for the collective constant.public String toString()
toString
in class Object
Object.toString()
public CollectiveConstant clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.