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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.