Class RegisterResourceRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lakeformation.model.LakeFormationRequest
-
- software.amazon.awssdk.services.lakeformation.model.RegisterResourceRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<RegisterResourceRequest.Builder,RegisterResourceRequest>
@Generated("software.amazon.awssdk:codegen") public final class RegisterResourceRequest extends LakeFormationRequest implements ToCopyableBuilder<RegisterResourceRequest.Builder,RegisterResourceRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRegisterResourceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegisterResourceRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanhybridAccessEnabled()Specifies 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.StringresourceArn()The Amazon Resource Name (ARN) of the resource that you want to register.StringroleArn()The identifier for the role that registers the resource.List<SdkField<?>>sdkFields()static Class<? extends RegisterResourceRequest.Builder>serializableBuilderClass()RegisterResourceRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.BooleanuseServiceLinkedRole()Designates an Identity and Access Management (IAM) service-linked role by registering this role with the Data Catalog.BooleanwithFederation()Whether or not the resource is a federated resource.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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 that you want to register.
- Returns:
- The Amazon Resource Name (ARN) of the resource that you want to register.
-
useServiceLinkedRole
public final Boolean useServiceLinkedRole()
Designates an Identity and Access Management (IAM) service-linked role by registering this role with the Data Catalog. A service-linked role is a unique type of IAM role that is linked directly to Lake Formation.
For more information, see Using Service-Linked Roles for Lake Formation.
- Returns:
- Designates an Identity and Access Management (IAM) service-linked role by registering this role with the
Data Catalog. A service-linked role is a unique type of IAM role that is linked directly to Lake
Formation.
For more information, see Using Service-Linked Roles for Lake Formation.
-
roleArn
public final String roleArn()
The identifier for the role that registers the resource.
- Returns:
- The identifier for the role that registers the resource.
-
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()
Specifies 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:
- Specifies 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 RegisterResourceRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RegisterResourceRequest.Builder,RegisterResourceRequest>- Specified by:
toBuilderin classLakeFormationRequest
-
builder
public static RegisterResourceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends RegisterResourceRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-