@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnumConfigurationOptions extends Object implements Serializable, Cloneable, StructuredPojo
The options for customizing a security control parameter that is an enum.
| Constructor and Description | 
|---|
| EnumConfigurationOptions() | 
| Modifier and Type | Method and Description | 
|---|---|
| EnumConfigurationOptions | clone() | 
| boolean | equals(Object obj) | 
| List<String> | getAllowedValues()
 The valid values for a control parameter that is an enum. | 
| String | getDefaultValue()
 The Security Hub default value for a control parameter that is an enum. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setAllowedValues(Collection<String> allowedValues)
 The valid values for a control parameter that is an enum. | 
| void | setDefaultValue(String defaultValue)
 The Security Hub default value for a control parameter that is an enum. | 
| String | toString()Returns a string representation of this object. | 
| EnumConfigurationOptions | withAllowedValues(Collection<String> allowedValues)
 The valid values for a control parameter that is an enum. | 
| EnumConfigurationOptions | withAllowedValues(String... allowedValues)
 The valid values for a control parameter that is an enum. | 
| EnumConfigurationOptions | withDefaultValue(String defaultValue)
 The Security Hub default value for a control parameter that is an enum. | 
public void setDefaultValue(String defaultValue)
The Security Hub default value for a control parameter that is an enum.
defaultValue - The Security Hub default value for a control parameter that is an enum.public String getDefaultValue()
The Security Hub default value for a control parameter that is an enum.
public EnumConfigurationOptions withDefaultValue(String defaultValue)
The Security Hub default value for a control parameter that is an enum.
defaultValue - The Security Hub default value for a control parameter that is an enum.public List<String> getAllowedValues()
The valid values for a control parameter that is an enum.
public void setAllowedValues(Collection<String> allowedValues)
The valid values for a control parameter that is an enum.
allowedValues - The valid values for a control parameter that is an enum.public EnumConfigurationOptions withAllowedValues(String... allowedValues)
The valid values for a control parameter that is an enum.
 NOTE: This method appends the values to the existing list (if any). Use
 setAllowedValues(java.util.Collection) or withAllowedValues(java.util.Collection) if you want
 to override the existing values.
 
allowedValues - The valid values for a control parameter that is an enum.public EnumConfigurationOptions withAllowedValues(Collection<String> allowedValues)
The valid values for a control parameter that is an enum.
allowedValues - The valid values for a control parameter that is an enum.public String toString()
toString in class ObjectObject.toString()public EnumConfigurationOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.