@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodegenGenericDataEnum extends Object implements Serializable, Cloneable, StructuredPojo
Describes the enums in a generic data schema.
Constructor and Description |
---|
CodegenGenericDataEnum() |
Modifier and Type | Method and Description |
---|---|
CodegenGenericDataEnum |
clone() |
boolean |
equals(Object obj) |
List<String> |
getValues()
The list of enum values in the generic data schema.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setValues(Collection<String> values)
The list of enum values in the generic data schema.
|
String |
toString()
Returns a string representation of this object.
|
CodegenGenericDataEnum |
withValues(Collection<String> values)
The list of enum values in the generic data schema.
|
CodegenGenericDataEnum |
withValues(String... values)
The list of enum values in the generic data schema.
|
public List<String> getValues()
The list of enum values in the generic data schema.
public void setValues(Collection<String> values)
The list of enum values in the generic data schema.
values
- The list of enum values in the generic data schema.public CodegenGenericDataEnum withValues(String... values)
The list of enum values in the generic data schema.
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 list of enum values in the generic data schema.public CodegenGenericDataEnum withValues(Collection<String> values)
The list of enum values in the generic data schema.
values
- The list of enum values in the generic data schema.public String toString()
toString
in class Object
Object.toString()
public CodegenGenericDataEnum clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.