@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LFTagKeyResource extends Object implements Serializable, Cloneable, StructuredPojo
A structure containing an LF-tag key and values for a resource.
Constructor and Description |
---|
LFTagKeyResource() |
Modifier and Type | Method and Description |
---|---|
LFTagKeyResource |
clone() |
boolean |
equals(Object obj) |
String |
getCatalogId()
The identifier for the Data Catalog.
|
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 |
setCatalogId(String catalogId)
The identifier for the Data Catalog.
|
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.
|
LFTagKeyResource |
withCatalogId(String catalogId)
The identifier for the Data Catalog.
|
LFTagKeyResource |
withTagKey(String tagKey)
The key-name for the LF-tag.
|
LFTagKeyResource |
withTagValues(Collection<String> tagValues)
A list of possible values an attribute can take.
|
LFTagKeyResource |
withTagValues(String... tagValues)
A list of possible values an attribute can take.
|
public void setCatalogId(String catalogId)
The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
catalogId
- The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent
metadata store. It contains database definitions, table definitions, and other control information to
manage your Lake Formation environment.public String getCatalogId()
The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
public LFTagKeyResource withCatalogId(String catalogId)
The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
catalogId
- The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent
metadata store. It contains database definitions, table definitions, and other control information to
manage your Lake Formation environment.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 LFTagKeyResource 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.
public void setTagValues(Collection<String> tagValues)
A list of possible values an attribute can take.
tagValues
- A list of possible values an attribute can take.public LFTagKeyResource withTagValues(String... tagValues)
A list of possible values an attribute can take.
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.public LFTagKeyResource withTagValues(Collection<String> tagValues)
A list of possible values an attribute can take.
tagValues
- A list of possible values an attribute can take.public String toString()
toString
in class Object
Object.toString()
public LFTagKeyResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.