Interface TestConnectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<TestConnectionRequest.Builder,
,TestConnectionRequest> GlueRequest.Builder
,SdkBuilder<TestConnectionRequest.Builder,
,TestConnectionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
TestConnectionRequest
@Mutable
@NotThreadSafe
public static interface TestConnectionRequest.Builder
extends GlueRequest.Builder, SdkPojo, CopyableBuilder<TestConnectionRequest.Builder,TestConnectionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe catalog ID where the connection resides.connectionName
(String connectionName) Optional.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default TestConnectionRequest.Builder
testConnectionInput
(Consumer<TestConnectionInput.Builder> testConnectionInput) A structure that is used to specify testing a connection to a service.testConnectionInput
(TestConnectionInput testConnectionInput) A structure that is used to specify testing a connection to a service.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.glue.model.GlueRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
connectionName
Optional. The name of the connection to test. If only name is provided, the operation will get the connection and use that for testing.
- Parameters:
connectionName
- Optional. The name of the connection to test. If only name is provided, the operation will get the connection and use that for testing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalogId
The catalog ID where the connection resides.
- Parameters:
catalogId
- The catalog ID where the connection resides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testConnectionInput
A structure that is used to specify testing a connection to a service.
- Parameters:
testConnectionInput
- A structure that is used to specify testing a connection to a service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testConnectionInput
default TestConnectionRequest.Builder testConnectionInput(Consumer<TestConnectionInput.Builder> testConnectionInput) A structure that is used to specify testing a connection to a service.
This is a convenience method that creates an instance of theTestConnectionInput.Builder
avoiding the need to create one manually viaTestConnectionInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totestConnectionInput(TestConnectionInput)
.- Parameters:
testConnectionInput
- a consumer that will call methods onTestConnectionInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
TestConnectionRequest.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
TestConnectionRequest.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.
-