@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LFTag extends Object implements Serializable, Cloneable, StructuredPojo
A structure that allows an LF-admin to grant permissions on certain conditions.
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 LF-tag values.
|
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 LF-tag values.
|
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 LF-tag values.
|
LFTag |
withTagValues(String... tagValues)
A list of LF-tag values.
|
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 LF-tag values.
public void setTagValues(Collection<String> tagValues)
A list of LF-tag values.
tagValues
- A list of LF-tag values.public LFTag withTagValues(String... tagValues)
A list of LF-tag 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 LF-tag values.public LFTag withTagValues(Collection<String> tagValues)
A list of LF-tag values.
tagValues
- A list of LF-tag 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.