@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FieldPatterns extends Object implements Serializable, Cloneable
A complex data type that includes the field patterns to match for field-level encryption.
| Constructor and Description |
|---|
FieldPatterns () |
| Modifier and Type | Method and Description |
|---|---|
FieldPatterns |
clone () |
boolean |
equals (Object obj) |
List<String> |
getItems ()
An array of the field-level encryption field patterns.
|
Integer |
getQuantity ()
The number of field-level encryption field patterns.
|
int |
hashCode () |
void |
setItems (Collection<String> items)
An array of the field-level encryption field patterns.
|
void |
setQuantity (Integer quantity)
The number of field-level encryption field patterns.
|
String |
toString ()
Returns a string representation of this object.
|
FieldPatterns |
withItems (Collection<String> items)
An array of the field-level encryption field patterns.
|
FieldPatterns |
withItems (String... items)
An array of the field-level encryption field patterns.
|
FieldPatterns |
withQuantity (Integer quantity)
The number of field-level encryption field patterns.
|
public FieldPatterns()
public void setQuantity(Integer quantity)
The number of field-level encryption field patterns.
quantity - The number of field-level encryption field patterns.public Integer getQuantity()
The number of field-level encryption field patterns.
public FieldPatterns withQuantity(Integer quantity)
The number of field-level encryption field patterns.
quantity - The number of field-level encryption field patterns.public List<String> getItems()
An array of the field-level encryption field patterns.
public void setItems(Collection<String> items)
An array of the field-level encryption field patterns.
items - An array of the field-level encryption field patterns.public FieldPatterns withItems(String... items)
An array of the field-level encryption field patterns.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection) or withItems(java.util.Collection) if you want to override the
existing values.
items - An array of the field-level encryption field patterns.public FieldPatterns withItems(Collection<String> items)
An array of the field-level encryption field patterns.
items - An array of the field-level encryption field patterns.public String toString()
toString in class Object Object.toString() public FieldPatterns clone()