@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataLocationResource extends Object implements Serializable, Cloneable, StructuredPojo
A structure for a data location object where permissions are granted or revoked.
Constructor and Description |
---|
DataLocationResource() |
Modifier and Type | Method and Description |
---|---|
DataLocationResource |
clone() |
boolean |
equals(Object obj) |
String |
getCatalogId()
The identifier for the Data Catalog where the location is registered with AWS Lake Formation.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) that uniquely identifies the data location resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCatalogId(String catalogId)
The identifier for the Data Catalog where the location is registered with AWS Lake Formation.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) that uniquely identifies the data location resource.
|
String |
toString()
Returns a string representation of this object.
|
DataLocationResource |
withCatalogId(String catalogId)
The identifier for the Data Catalog where the location is registered with AWS Lake Formation.
|
DataLocationResource |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) that uniquely identifies the data location resource.
|
public void setCatalogId(String catalogId)
The identifier for the Data Catalog where the location is registered with AWS Lake Formation. By default, it is the account ID of the caller.
catalogId
- The identifier for the Data Catalog where the location is registered with AWS Lake Formation. By default,
it is the account ID of the caller.public String getCatalogId()
The identifier for the Data Catalog where the location is registered with AWS Lake Formation. By default, it is the account ID of the caller.
public DataLocationResource withCatalogId(String catalogId)
The identifier for the Data Catalog where the location is registered with AWS Lake Formation. By default, it is the account ID of the caller.
catalogId
- The identifier for the Data Catalog where the location is registered with AWS Lake Formation. By default,
it is the account ID of the caller.public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) that uniquely identifies the data location resource.
resourceArn
- The Amazon Resource Name (ARN) that uniquely identifies the data location resource.public String getResourceArn()
The Amazon Resource Name (ARN) that uniquely identifies the data location resource.
public DataLocationResource withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) that uniquely identifies the data location resource.
resourceArn
- The Amazon Resource Name (ARN) that uniquely identifies the data location resource.public String toString()
toString
in class Object
Object.toString()
public DataLocationResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.