@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RowLevelPermissionTagConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration of tags on a dataset to set row-level security.
Constructor and Description |
---|
RowLevelPermissionTagConfiguration() |
Modifier and Type | Method and Description |
---|---|
RowLevelPermissionTagConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
The status of row-level security tags.
|
List<List<String>> |
getTagRuleConfigurations()
A list of tag configuration rules to apply to a dataset.
|
List<RowLevelPermissionTagRule> |
getTagRules()
A set of rules associated with row-level security, such as the tag names and columns that they are assigned to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStatus(String status)
The status of row-level security tags.
|
void |
setTagRuleConfigurations(Collection<List<String>> tagRuleConfigurations)
A list of tag configuration rules to apply to a dataset.
|
void |
setTagRules(Collection<RowLevelPermissionTagRule> tagRules)
A set of rules associated with row-level security, such as the tag names and columns that they are assigned to.
|
String |
toString()
Returns a string representation of this object.
|
RowLevelPermissionTagConfiguration |
withStatus(Status status)
The status of row-level security tags.
|
RowLevelPermissionTagConfiguration |
withStatus(String status)
The status of row-level security tags.
|
RowLevelPermissionTagConfiguration |
withTagRuleConfigurations(Collection<List<String>> tagRuleConfigurations)
A list of tag configuration rules to apply to a dataset.
|
RowLevelPermissionTagConfiguration |
withTagRuleConfigurations(List<String>... tagRuleConfigurations)
A list of tag configuration rules to apply to a dataset.
|
RowLevelPermissionTagConfiguration |
withTagRules(Collection<RowLevelPermissionTagRule> tagRules)
A set of rules associated with row-level security, such as the tag names and columns that they are assigned to.
|
RowLevelPermissionTagConfiguration |
withTagRules(RowLevelPermissionTagRule... tagRules)
A set of rules associated with row-level security, such as the tag names and columns that they are assigned to.
|
public void setStatus(String status)
The status of row-level security tags. If enabled, the status is ENABLED
. If disabled, the status is
DISABLED
.
status
- The status of row-level security tags. If enabled, the status is ENABLED
. If disabled, the
status is DISABLED
.Status
public String getStatus()
The status of row-level security tags. If enabled, the status is ENABLED
. If disabled, the status is
DISABLED
.
ENABLED
. If disabled, the
status is DISABLED
.Status
public RowLevelPermissionTagConfiguration withStatus(String status)
The status of row-level security tags. If enabled, the status is ENABLED
. If disabled, the status is
DISABLED
.
status
- The status of row-level security tags. If enabled, the status is ENABLED
. If disabled, the
status is DISABLED
.Status
public RowLevelPermissionTagConfiguration withStatus(Status status)
The status of row-level security tags. If enabled, the status is ENABLED
. If disabled, the status is
DISABLED
.
status
- The status of row-level security tags. If enabled, the status is ENABLED
. If disabled, the
status is DISABLED
.Status
public List<RowLevelPermissionTagRule> getTagRules()
A set of rules associated with row-level security, such as the tag names and columns that they are assigned to.
public void setTagRules(Collection<RowLevelPermissionTagRule> tagRules)
A set of rules associated with row-level security, such as the tag names and columns that they are assigned to.
tagRules
- A set of rules associated with row-level security, such as the tag names and columns that they are
assigned to.public RowLevelPermissionTagConfiguration withTagRules(RowLevelPermissionTagRule... tagRules)
A set of rules associated with row-level security, such as the tag names and columns that they are assigned to.
NOTE: This method appends the values to the existing list (if any). Use
setTagRules(java.util.Collection)
or withTagRules(java.util.Collection)
if you want to override
the existing values.
tagRules
- A set of rules associated with row-level security, such as the tag names and columns that they are
assigned to.public RowLevelPermissionTagConfiguration withTagRules(Collection<RowLevelPermissionTagRule> tagRules)
A set of rules associated with row-level security, such as the tag names and columns that they are assigned to.
tagRules
- A set of rules associated with row-level security, such as the tag names and columns that they are
assigned to.public List<List<String>> getTagRuleConfigurations()
A list of tag configuration rules to apply to a dataset. All tag configurations have the OR condition. Tags within each tile will be joined (AND). At least one rule in this structure must have all tag values assigned to it to apply Row-level security (RLS) to the dataset.
public void setTagRuleConfigurations(Collection<List<String>> tagRuleConfigurations)
A list of tag configuration rules to apply to a dataset. All tag configurations have the OR condition. Tags within each tile will be joined (AND). At least one rule in this structure must have all tag values assigned to it to apply Row-level security (RLS) to the dataset.
tagRuleConfigurations
- A list of tag configuration rules to apply to a dataset. All tag configurations have the OR condition.
Tags within each tile will be joined (AND). At least one rule in this structure must have all tag values
assigned to it to apply Row-level security (RLS) to the dataset.public RowLevelPermissionTagConfiguration withTagRuleConfigurations(List<String>... tagRuleConfigurations)
A list of tag configuration rules to apply to a dataset. All tag configurations have the OR condition. Tags within each tile will be joined (AND). At least one rule in this structure must have all tag values assigned to it to apply Row-level security (RLS) to the dataset.
NOTE: This method appends the values to the existing list (if any). Use
setTagRuleConfigurations(java.util.Collection)
or
withTagRuleConfigurations(java.util.Collection)
if you want to override the existing values.
tagRuleConfigurations
- A list of tag configuration rules to apply to a dataset. All tag configurations have the OR condition.
Tags within each tile will be joined (AND). At least one rule in this structure must have all tag values
assigned to it to apply Row-level security (RLS) to the dataset.public RowLevelPermissionTagConfiguration withTagRuleConfigurations(Collection<List<String>> tagRuleConfigurations)
A list of tag configuration rules to apply to a dataset. All tag configurations have the OR condition. Tags within each tile will be joined (AND). At least one rule in this structure must have all tag values assigned to it to apply Row-level security (RLS) to the dataset.
tagRuleConfigurations
- A list of tag configuration rules to apply to a dataset. All tag configurations have the OR condition.
Tags within each tile will be joined (AND). At least one rule in this structure must have all tag values
assigned to it to apply Row-level security (RLS) to the dataset.public String toString()
toString
in class Object
Object.toString()
public RowLevelPermissionTagConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.