@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddLFTagsToResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AddLFTagsToResourceRequest() |
Modifier and Type | Method and Description |
---|---|
AddLFTagsToResourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCatalogId()
The identifier for the Data Catalog.
|
List<LFTagPair> |
getLFTags()
The LF-tags to attach to the resource.
|
Resource |
getResource()
The database, table, or column resource to which to attach an LF-tag.
|
int |
hashCode() |
void |
setCatalogId(String catalogId)
The identifier for the Data Catalog.
|
void |
setLFTags(Collection<LFTagPair> lFTags)
The LF-tags to attach to the resource.
|
void |
setResource(Resource resource)
The database, table, or column resource to which to attach an LF-tag.
|
String |
toString()
Returns a string representation of this object.
|
AddLFTagsToResourceRequest |
withCatalogId(String catalogId)
The identifier for the Data Catalog.
|
AddLFTagsToResourceRequest |
withLFTags(Collection<LFTagPair> lFTags)
The LF-tags to attach to the resource.
|
AddLFTagsToResourceRequest |
withLFTags(LFTagPair... lFTags)
The LF-tags to attach to the resource.
|
AddLFTagsToResourceRequest |
withResource(Resource resource)
The database, table, or column resource to which to attach an LF-tag.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 AddLFTagsToResourceRequest 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 setResource(Resource resource)
The database, table, or column resource to which to attach an LF-tag.
resource
- The database, table, or column resource to which to attach an LF-tag.public Resource getResource()
The database, table, or column resource to which to attach an LF-tag.
public AddLFTagsToResourceRequest withResource(Resource resource)
The database, table, or column resource to which to attach an LF-tag.
resource
- The database, table, or column resource to which to attach an LF-tag.public List<LFTagPair> getLFTags()
The LF-tags to attach to the resource.
public void setLFTags(Collection<LFTagPair> lFTags)
The LF-tags to attach to the resource.
lFTags
- The LF-tags to attach to the resource.public AddLFTagsToResourceRequest withLFTags(LFTagPair... lFTags)
The LF-tags to attach to the resource.
NOTE: This method appends the values to the existing list (if any). Use
setLFTags(java.util.Collection)
or withLFTags(java.util.Collection)
if you want to override the
existing values.
lFTags
- The LF-tags to attach to the resource.public AddLFTagsToResourceRequest withLFTags(Collection<LFTagPair> lFTags)
The LF-tags to attach to the resource.
lFTags
- The LF-tags to attach to the resource.public String toString()
toString
in class Object
Object.toString()
public AddLFTagsToResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()