@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LFTagPolicyResource extends Object implements Serializable, Cloneable, StructuredPojo
A structure containing a list of LF-tag conditions that apply to a resource's LF-tag policy.
Constructor and Description |
---|
LFTagPolicyResource() |
Modifier and Type | Method and Description |
---|---|
LFTagPolicyResource |
clone() |
boolean |
equals(Object obj) |
String |
getCatalogId()
The identifier for the Data Catalog.
|
List<LFTag> |
getExpression()
A list of LF-tag conditions that apply to the resource's LF-tag policy.
|
String |
getResourceType()
The resource type for which the LF-tag policy applies.
|
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 |
setExpression(Collection<LFTag> expression)
A list of LF-tag conditions that apply to the resource's LF-tag policy.
|
void |
setResourceType(String resourceType)
The resource type for which the LF-tag policy applies.
|
String |
toString()
Returns a string representation of this object.
|
LFTagPolicyResource |
withCatalogId(String catalogId)
The identifier for the Data Catalog.
|
LFTagPolicyResource |
withExpression(Collection<LFTag> expression)
A list of LF-tag conditions that apply to the resource's LF-tag policy.
|
LFTagPolicyResource |
withExpression(LFTag... expression)
A list of LF-tag conditions that apply to the resource's LF-tag policy.
|
LFTagPolicyResource |
withResourceType(ResourceType resourceType)
The resource type for which the LF-tag policy applies.
|
LFTagPolicyResource |
withResourceType(String resourceType)
The resource type for which the LF-tag policy applies.
|
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 LFTagPolicyResource 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 setResourceType(String resourceType)
The resource type for which the LF-tag policy applies.
resourceType
- The resource type for which the LF-tag policy applies.ResourceType
public String getResourceType()
The resource type for which the LF-tag policy applies.
ResourceType
public LFTagPolicyResource withResourceType(String resourceType)
The resource type for which the LF-tag policy applies.
resourceType
- The resource type for which the LF-tag policy applies.ResourceType
public LFTagPolicyResource withResourceType(ResourceType resourceType)
The resource type for which the LF-tag policy applies.
resourceType
- The resource type for which the LF-tag policy applies.ResourceType
public List<LFTag> getExpression()
A list of LF-tag conditions that apply to the resource's LF-tag policy.
public void setExpression(Collection<LFTag> expression)
A list of LF-tag conditions that apply to the resource's LF-tag policy.
expression
- A list of LF-tag conditions that apply to the resource's LF-tag policy.public LFTagPolicyResource withExpression(LFTag... expression)
A list of LF-tag conditions that apply to the resource's LF-tag policy.
NOTE: This method appends the values to the existing list (if any). Use
setExpression(java.util.Collection)
or withExpression(java.util.Collection)
if you want to
override the existing values.
expression
- A list of LF-tag conditions that apply to the resource's LF-tag policy.public LFTagPolicyResource withExpression(Collection<LFTag> expression)
A list of LF-tag conditions that apply to the resource's LF-tag policy.
expression
- A list of LF-tag conditions that apply to the resource's LF-tag policy.public String toString()
toString
in class Object
Object.toString()
public LFTagPolicyResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.