Interface TestConnectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<TestConnectionRequest.Builder,,TestConnectionRequest> GlueRequest.Builder,SdkBuilder<TestConnectionRequest.Builder,,TestConnectionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
TestConnectionRequest
public static interface TestConnectionRequest.Builder
extends GlueRequest.Builder, SdkPojo, CopyableBuilder<TestConnectionRequest.Builder,TestConnectionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionName(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.BuildertestConnectionInput(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.
-
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.Builderavoiding the need to create one manually viaTestConnectionInput.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-