Interface CreateConnectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudWatchEventsRequest.Builder
,CopyableBuilder<CreateConnectionRequest.Builder,
,CreateConnectionRequest> SdkBuilder<CreateConnectionRequest.Builder,
,CreateConnectionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateConnectionRequest
public static interface CreateConnectionRequest.Builder
extends CloudWatchEventsRequest.Builder, SdkPojo, CopyableBuilder<CreateConnectionRequest.Builder,CreateConnectionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationType
(String authorizationType) The type of authorization to use for the connection.authorizationType
(ConnectionAuthorizationType authorizationType) The type of authorization to use for the connection.default CreateConnectionRequest.Builder
authParameters
(Consumer<CreateConnectionAuthRequestParameters.Builder> authParameters) ACreateConnectionAuthRequestParameters
object that contains the authorization parameters to use to authorize with the endpoint.authParameters
(CreateConnectionAuthRequestParameters authParameters) ACreateConnectionAuthRequestParameters
object that contains the authorization parameters to use to authorize with the endpoint.description
(String description) A description for the connection to create.The name for the connection to create.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudwatchevents.model.CloudWatchEventsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name for the connection to create.
- Parameters:
name
- The name for the connection to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description for the connection to create.
- Parameters:
description
- A description for the connection to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationType
The type of authorization to use for the connection.
- Parameters:
authorizationType
- The type of authorization to use for the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizationType
The type of authorization to use for the connection.
- Parameters:
authorizationType
- The type of authorization to use for the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authParameters
CreateConnectionRequest.Builder authParameters(CreateConnectionAuthRequestParameters authParameters) A
CreateConnectionAuthRequestParameters
object that contains the authorization parameters to use to authorize with the endpoint.- Parameters:
authParameters
- ACreateConnectionAuthRequestParameters
object that contains the authorization parameters to use to authorize with the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authParameters
default CreateConnectionRequest.Builder authParameters(Consumer<CreateConnectionAuthRequestParameters.Builder> authParameters) A
This is a convenience method that creates an instance of theCreateConnectionAuthRequestParameters
object that contains the authorization parameters to use to authorize with the endpoint.CreateConnectionAuthRequestParameters.Builder
avoiding the need to create one manually viaCreateConnectionAuthRequestParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthParameters(CreateConnectionAuthRequestParameters)
.- Parameters:
authParameters
- a consumer that will call methods onCreateConnectionAuthRequestParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateConnectionRequest.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
CreateConnectionRequest.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.
-