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