@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceInfo extends Object implements Serializable, Cloneable, StructuredPojo
A structure containing information about an Lake Formation resource.
Constructor and Description |
---|
ResourceInfo() |
Modifier and Type | Method and Description |
---|---|
ResourceInfo |
clone() |
boolean |
equals(Object obj) |
Boolean |
getHybridAccessEnabled()
Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation
permissions as well as Amazon S3 bucket policies.
|
Date |
getLastModified()
The date and time the resource was last modified.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the resource.
|
String |
getRoleArn()
The IAM role that registered a resource.
|
Boolean |
getWithFederation()
Whether or not the resource is a federated resource.
|
int |
hashCode() |
Boolean |
isHybridAccessEnabled()
Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation
permissions as well as Amazon S3 bucket policies.
|
Boolean |
isWithFederation()
Whether or not the resource is a federated resource.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHybridAccessEnabled(Boolean hybridAccessEnabled)
Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation
permissions as well as Amazon S3 bucket policies.
|
void |
setLastModified(Date lastModified)
The date and time the resource was last modified.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
void |
setRoleArn(String roleArn)
The IAM role that registered a resource.
|
void |
setWithFederation(Boolean withFederation)
Whether or not the resource is a federated resource.
|
String |
toString()
Returns a string representation of this object.
|
ResourceInfo |
withHybridAccessEnabled(Boolean hybridAccessEnabled)
Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation
permissions as well as Amazon S3 bucket policies.
|
ResourceInfo |
withLastModified(Date lastModified)
The date and time the resource was last modified.
|
ResourceInfo |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
ResourceInfo |
withRoleArn(String roleArn)
The IAM role that registered a resource.
|
ResourceInfo |
withWithFederation(Boolean withFederation)
Whether or not the resource is a federated resource.
|
public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
resourceArn
- The Amazon Resource Name (ARN) of the resource.public String getResourceArn()
The Amazon Resource Name (ARN) of the resource.
public ResourceInfo withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
resourceArn
- The Amazon Resource Name (ARN) of the resource.public void setRoleArn(String roleArn)
The IAM role that registered a resource.
roleArn
- The IAM role that registered a resource.public String getRoleArn()
The IAM role that registered a resource.
public ResourceInfo withRoleArn(String roleArn)
The IAM role that registered a resource.
roleArn
- The IAM role that registered a resource.public void setLastModified(Date lastModified)
The date and time the resource was last modified.
lastModified
- The date and time the resource was last modified.public Date getLastModified()
The date and time the resource was last modified.
public ResourceInfo withLastModified(Date lastModified)
The date and time the resource was last modified.
lastModified
- The date and time the resource was last modified.public void setWithFederation(Boolean withFederation)
Whether or not the resource is a federated resource.
withFederation
- Whether or not the resource is a federated resource.public Boolean getWithFederation()
Whether or not the resource is a federated resource.
public ResourceInfo withWithFederation(Boolean withFederation)
Whether or not the resource is a federated resource.
withFederation
- Whether or not the resource is a federated resource.public Boolean isWithFederation()
Whether or not the resource is a federated resource.
public void setHybridAccessEnabled(Boolean hybridAccessEnabled)
Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.
hybridAccessEnabled
- Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation
permissions as well as Amazon S3 bucket policies.public Boolean getHybridAccessEnabled()
Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.
public ResourceInfo withHybridAccessEnabled(Boolean hybridAccessEnabled)
Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.
hybridAccessEnabled
- Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation
permissions as well as Amazon S3 bucket policies.public Boolean isHybridAccessEnabled()
Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.
public String toString()
toString
in class Object
Object.toString()
public ResourceInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.