Interface RegisterResourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<RegisterResourceRequest.Builder,
,RegisterResourceRequest> LakeFormationRequest.Builder
,SdkBuilder<RegisterResourceRequest.Builder,
,RegisterResourceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
RegisterResourceRequest
public static interface RegisterResourceRequest.Builder
extends LakeFormationRequest.Builder, SdkPojo, CopyableBuilder<RegisterResourceRequest.Builder,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.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lakeformation.model.LakeFormationRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.
-
overrideConfiguration
RegisterResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-