Interface RegisterResourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RegisterResourceRequest.Builder,,RegisterResourceRequest> LakeFormationRequest.Builder,SdkBuilder<RegisterResourceRequest.Builder,,RegisterResourceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RegisterResourceRequest
-
Method Summary
Modifier and TypeMethodDescriptionhybridAccessEnabled(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.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceArn(String resourceArn) The Amazon Resource Name (ARN) of the resource that you want to register.The identifier for the role that registers the resource.useServiceLinkedRole(Boolean useServiceLinkedRole) Designates an Identity and Access Management (IAM) service-linked role by registering this role with the Data Catalog.withFederation(Boolean withFederation) Whether or not the resource is a federated resource.withPrivilegedAccess(Boolean withPrivilegedAccess) Grants the calling principal the permissions to perform all supported Lake Formation operations on the registered data location.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lakeformation.model.LakeFormationRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resourceArn
The Amazon Resource Name (ARN) of the resource that you want to register.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the resource that you want to register.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The identifier for the role that registers the resource.
- Parameters:
roleArn- The identifier for the role that registers the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFederation
Whether or not the resource is a federated resource.
- Parameters:
withFederation- Whether or not the resource is a federated resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
withPrivilegedAccess
Grants the calling principal the permissions to perform all supported Lake Formation operations on the registered data location.
- Parameters:
withPrivilegedAccess- Grants the calling principal the permissions to perform all supported Lake Formation operations on the registered data location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RegisterResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
RegisterResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-