@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StringListConfigurationOptions extends Object implements Serializable, Cloneable, StructuredPojo
The options for customizing a security control parameter that is a list of strings.
Constructor and Description |
---|
StringListConfigurationOptions() |
Modifier and Type | Method and Description |
---|---|
StringListConfigurationOptions |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDefaultValue()
The Security Hub default value for a control parameter that is a list of strings.
|
String |
getExpressionDescription()
The description of the RE2 regular expression.
|
Integer |
getMaxItems()
The maximum number of list items that a string list control parameter can accept.
|
String |
getRe2Expression()
An RE2 regular expression that Security Hub uses to validate a user-provided list of strings for a control
parameter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultValue(Collection<String> defaultValue)
The Security Hub default value for a control parameter that is a list of strings.
|
void |
setExpressionDescription(String expressionDescription)
The description of the RE2 regular expression.
|
void |
setMaxItems(Integer maxItems)
The maximum number of list items that a string list control parameter can accept.
|
void |
setRe2Expression(String re2Expression)
An RE2 regular expression that Security Hub uses to validate a user-provided list of strings for a control
parameter.
|
String |
toString()
Returns a string representation of this object.
|
StringListConfigurationOptions |
withDefaultValue(Collection<String> defaultValue)
The Security Hub default value for a control parameter that is a list of strings.
|
StringListConfigurationOptions |
withDefaultValue(String... defaultValue)
The Security Hub default value for a control parameter that is a list of strings.
|
StringListConfigurationOptions |
withExpressionDescription(String expressionDescription)
The description of the RE2 regular expression.
|
StringListConfigurationOptions |
withMaxItems(Integer maxItems)
The maximum number of list items that a string list control parameter can accept.
|
StringListConfigurationOptions |
withRe2Expression(String re2Expression)
An RE2 regular expression that Security Hub uses to validate a user-provided list of strings for a control
parameter.
|
public List<String> getDefaultValue()
The Security Hub default value for a control parameter that is a list of strings.
public void setDefaultValue(Collection<String> defaultValue)
The Security Hub default value for a control parameter that is a list of strings.
defaultValue
- The Security Hub default value for a control parameter that is a list of strings.public StringListConfigurationOptions withDefaultValue(String... defaultValue)
The Security Hub default value for a control parameter that is a list of strings.
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 strings.public StringListConfigurationOptions withDefaultValue(Collection<String> defaultValue)
The Security Hub default value for a control parameter that is a list of strings.
defaultValue
- The Security Hub default value for a control parameter that is a list of strings.public void setRe2Expression(String re2Expression)
An RE2 regular expression that Security Hub uses to validate a user-provided list of strings for a control parameter.
re2Expression
- An RE2 regular expression that Security Hub uses to validate a user-provided list of strings for a control
parameter.public String getRe2Expression()
An RE2 regular expression that Security Hub uses to validate a user-provided list of strings for a control parameter.
public StringListConfigurationOptions withRe2Expression(String re2Expression)
An RE2 regular expression that Security Hub uses to validate a user-provided list of strings for a control parameter.
re2Expression
- An RE2 regular expression that Security Hub uses to validate a user-provided list of strings for a control
parameter.public void setMaxItems(Integer maxItems)
The maximum number of list items that a string list control parameter can accept.
maxItems
- The maximum number of list items that a string list control parameter can accept.public Integer getMaxItems()
The maximum number of list items that a string list control parameter can accept.
public StringListConfigurationOptions withMaxItems(Integer maxItems)
The maximum number of list items that a string list control parameter can accept.
maxItems
- The maximum number of list items that a string list control parameter can accept.public void setExpressionDescription(String expressionDescription)
The description of the RE2 regular expression.
expressionDescription
- The description of the RE2 regular expression.public String getExpressionDescription()
The description of the RE2 regular expression.
public StringListConfigurationOptions withExpressionDescription(String expressionDescription)
The description of the RE2 regular expression.
expressionDescription
- The description of the RE2 regular expression.public String toString()
toString
in class Object
Object.toString()
public StringListConfigurationOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.