public static interface CreateConnectionRequest.Builder extends GlueRequest.Builder, CopyableBuilder<CreateConnectionRequest.Builder,CreateConnectionRequest>
Modifier and Type | Method and Description |
---|---|
CreateConnectionRequest.Builder |
catalogId(String catalogId)
The ID of the Data Catalog in which to create the connection.
|
CreateConnectionRequest.Builder |
connectionInput(ConnectionInput connectionInput)
A
ConnectionInput object defining the connection to create. |
default CreateConnectionRequest.Builder |
connectionInput(Consumer<ConnectionInput.Builder> connectionInput)
A
ConnectionInput object defining the connection to create. |
CreateConnectionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateConnectionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
CreateConnectionRequest.Builder catalogId(String catalogId)
The ID of the Data Catalog in which to create the connection. If none is supplied, the AWS account ID is used by default.
catalogId
- The ID of the Data Catalog in which to create the connection. If none is supplied, the AWS account ID
is used by default.CreateConnectionRequest.Builder connectionInput(ConnectionInput connectionInput)
A ConnectionInput
object defining the connection to create.
connectionInput
- A ConnectionInput
object defining the connection to create.default CreateConnectionRequest.Builder connectionInput(Consumer<ConnectionInput.Builder> connectionInput)
A ConnectionInput
object defining the connection to create.
ConnectionInput.Builder
avoiding the need to
create one manually via ConnectionInput.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to connectionInput(ConnectionInput)
.connectionInput
- a consumer that will call methods on ConnectionInput.Builder
connectionInput(ConnectionInput)
CreateConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.