public static interface UpdateConnectionRequest.Builder extends GlueRequest.Builder, CopyableBuilder<UpdateConnectionRequest.Builder,UpdateConnectionRequest>
Modifier and Type | Method and Description |
---|---|
UpdateConnectionRequest.Builder |
catalogId(String catalogId)
The ID of the Data Catalog in which the connection resides.
|
UpdateConnectionRequest.Builder |
connectionInput(ConnectionInput connectionInput)
A
ConnectionInput object that redefines the connection in question. |
default UpdateConnectionRequest.Builder |
connectionInput(Consumer<ConnectionInput.Builder> connectionInput)
A
ConnectionInput object that redefines the connection in question. |
UpdateConnectionRequest.Builder |
name(String name)
The name of the connection definition to update.
|
UpdateConnectionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateConnectionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateConnectionRequest.Builder catalogId(String catalogId)
The ID of the Data Catalog in which the connection resides. If none is supplied, the AWS account ID is used by default.
catalogId
- The ID of the Data Catalog in which the connection resides. If none is supplied, the AWS account ID is
used by default.UpdateConnectionRequest.Builder name(String name)
The name of the connection definition to update.
name
- The name of the connection definition to update.UpdateConnectionRequest.Builder connectionInput(ConnectionInput connectionInput)
A ConnectionInput
object that redefines the connection in question.
connectionInput
- A ConnectionInput
object that redefines the connection in question.default UpdateConnectionRequest.Builder connectionInput(Consumer<ConnectionInput.Builder> connectionInput)
A ConnectionInput
object that redefines the connection in question.
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)
UpdateConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateConnectionRequest.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.