Class ResourceInfo
- java.lang.Object
-
- software.amazon.awssdk.services.lakeformation.model.ResourceInfo
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ResourceInfo.Builder,ResourceInfo>
@Generated("software.amazon.awssdk:codegen") public final class ResourceInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceInfo.Builder,ResourceInfo>
A structure containing information about an Lake Formation resource.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ResourceInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceInfo.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
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.Instant
lastModified()
The date and time the resource was last modified.String
resourceArn()
The Amazon Resource Name (ARN) of the resource.String
roleArn()
The IAM role that registered a resource.List<SdkField<?>>
sdkFields()
static Class<? extends ResourceInfo.Builder>
serializableBuilderClass()
ResourceInfo.Builder
toBuilder()
String
toString()
Returns a string representation of this object.Boolean
withFederation()
Whether or not the resource is a federated resource.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
resourceArn
public final String resourceArn()
The Amazon Resource Name (ARN) of the resource.
- Returns:
- The Amazon Resource Name (ARN) of the resource.
-
roleArn
public final String roleArn()
The IAM role that registered a resource.
- Returns:
- The IAM role that registered a resource.
-
lastModified
public final Instant lastModified()
The date and time the resource was last modified.
- Returns:
- The date and time the resource was last modified.
-
withFederation
public final Boolean withFederation()
Whether or not the resource is a federated resource.
- Returns:
- Whether or not the resource is a federated resource.
-
hybridAccessEnabled
public final 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.
- Returns:
- 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.
-
toBuilder
public ResourceInfo.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ResourceInfo.Builder,ResourceInfo>
-
builder
public static ResourceInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResourceInfo.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-