@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LFTag extends Object implements Serializable, Cloneable, StructuredPojo
A structure that allows an admin to grant user permissions on certain conditions. For example, granting a role access to all columns that do not have the LF-tag 'PII' in tables that have the LF-tag 'Prod'.
Constructor and Description |
---|
LFTag() |
Modifier and Type | Method and Description |
---|---|
LFTag |
clone() |
boolean |
equals(Object obj) |
String |
getTagKey()
The key-name for the LF-tag.
|
List<String> |
getTagValues()
A list of possible values an attribute can take.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTagKey(String tagKey)
The key-name for the LF-tag.
|
void |
setTagValues(Collection<String> tagValues)
A list of possible values an attribute can take.
|
String |
toString()
Returns a string representation of this object.
|
LFTag |
withTagKey(String tagKey)
The key-name for the LF-tag.
|
LFTag |
withTagValues(Collection<String> tagValues)
A list of possible values an attribute can take.
|
LFTag |
withTagValues(String... tagValues)
A list of possible values an attribute can take.
|
public void setTagKey(String tagKey)
The key-name for the LF-tag.
tagKey
- The key-name for the LF-tag.public String getTagKey()
The key-name for the LF-tag.
public LFTag withTagKey(String tagKey)
The key-name for the LF-tag.
tagKey
- The key-name for the LF-tag.public List<String> getTagValues()
A list of possible values an attribute can take.
The maximum number of values that can be defined for a LF-Tag is 1000. A single API call supports 50 values. You can use multiple API calls to add more values.
The maximum number of values that can be defined for a LF-Tag is 1000. A single API call supports 50 values. You can use multiple API calls to add more values.
public void setTagValues(Collection<String> tagValues)
A list of possible values an attribute can take.
The maximum number of values that can be defined for a LF-Tag is 1000. A single API call supports 50 values. You can use multiple API calls to add more values.
tagValues
- A list of possible values an attribute can take.
The maximum number of values that can be defined for a LF-Tag is 1000. A single API call supports 50 values. You can use multiple API calls to add more values.
public LFTag withTagValues(String... tagValues)
A list of possible values an attribute can take.
The maximum number of values that can be defined for a LF-Tag is 1000. A single API call supports 50 values. You can use multiple API calls to add more values.
NOTE: This method appends the values to the existing list (if any). Use
setTagValues(java.util.Collection)
or withTagValues(java.util.Collection)
if you want to
override the existing values.
tagValues
- A list of possible values an attribute can take.
The maximum number of values that can be defined for a LF-Tag is 1000. A single API call supports 50 values. You can use multiple API calls to add more values.
public LFTag withTagValues(Collection<String> tagValues)
A list of possible values an attribute can take.
The maximum number of values that can be defined for a LF-Tag is 1000. A single API call supports 50 values. You can use multiple API calls to add more values.
tagValues
- A list of possible values an attribute can take.
The maximum number of values that can be defined for a LF-Tag is 1000. A single API call supports 50 values. You can use multiple API calls to add more values.
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.