Interface CreateLakeFormationOptInRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLakeFormationOptInRequest.Builder,
,CreateLakeFormationOptInRequest> LakeFormationRequest.Builder
,SdkBuilder<CreateLakeFormationOptInRequest.Builder,
,CreateLakeFormationOptInRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLakeFormationOptInRequest
public static interface CreateLakeFormationOptInRequest.Builder
extends LakeFormationRequest.Builder, SdkPojo, CopyableBuilder<CreateLakeFormationOptInRequest.Builder,CreateLakeFormationOptInRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.principal
(Consumer<DataLakePrincipal.Builder> principal) Sets the value of the Principal property for this object.principal
(DataLakePrincipal principal) Sets the value of the Principal property for this object.resource
(Consumer<Resource.Builder> resource) Sets the value of the Resource property for this object.Sets the value of the Resource property for this object.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
-
principal
Sets the value of the Principal property for this object.- Parameters:
principal
- The new value for the Principal property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
default CreateLakeFormationOptInRequest.Builder principal(Consumer<DataLakePrincipal.Builder> principal) Sets the value of the Principal property for this object. This is a convenience method that creates an instance of theDataLakePrincipal.Builder
avoiding the need to create one manually viaDataLakePrincipal.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprincipal(DataLakePrincipal)
.- Parameters:
principal
- a consumer that will call methods onDataLakePrincipal.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resource
Sets the value of the Resource property for this object.- Parameters:
resource
- The new value for the Resource property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
Sets the value of the Resource property for this object. This is a convenience method that creates an instance of theResource.Builder
avoiding the need to create one manually viaResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresource(Resource)
.- Parameters:
resource
- a consumer that will call methods onResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateLakeFormationOptInRequest.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
CreateLakeFormationOptInRequest.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.
-