Interface UpdateConnectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateConnectionRequest.Builder,
,UpdateConnectionRequest> EventBridgeRequest.Builder
,SdkBuilder<UpdateConnectionRequest.Builder,
,UpdateConnectionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateConnectionRequest
-
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 UpdateConnectionRequest.Builder
authParameters
(Consumer<UpdateConnectionAuthRequestParameters.Builder> authParameters) The authorization parameters to use for the connection.authParameters
(UpdateConnectionAuthRequestParameters authParameters) The authorization parameters to use for the connection.description
(String description) A description for the connection.default UpdateConnectionRequest.Builder
invocationConnectivityParameters
(Consumer<ConnectivityResourceParameters.Builder> invocationConnectivityParameters) For connections to private APIs, the parameters to use for invoking the API.invocationConnectivityParameters
(ConnectivityResourceParameters invocationConnectivityParameters) For connections to private APIs, the parameters to use for invoking the API.kmsKeyIdentifier
(String kmsKeyIdentifier) The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt this connection.The name of the connection to update.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.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeRequest.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
-
name
The name of the connection to update.
- Parameters:
name
- The name of the connection to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description for the connection.
- Parameters:
description
- A description for the connection.- 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
UpdateConnectionRequest.Builder authParameters(UpdateConnectionAuthRequestParameters authParameters) The authorization parameters to use for the connection.
- Parameters:
authParameters
- The authorization parameters to use for the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authParameters
default UpdateConnectionRequest.Builder authParameters(Consumer<UpdateConnectionAuthRequestParameters.Builder> authParameters) The authorization parameters to use for the connection.
This is a convenience method that creates an instance of theUpdateConnectionAuthRequestParameters.Builder
avoiding the need to create one manually viaUpdateConnectionAuthRequestParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthParameters(UpdateConnectionAuthRequestParameters)
.- Parameters:
authParameters
- a consumer that will call methods onUpdateConnectionAuthRequestParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
invocationConnectivityParameters
UpdateConnectionRequest.Builder invocationConnectivityParameters(ConnectivityResourceParameters invocationConnectivityParameters) For connections to private APIs, the parameters to use for invoking the API.
For more information, see Connecting to private APIs in the Amazon EventBridge User Guide .
- Parameters:
invocationConnectivityParameters
- For connections to private APIs, the parameters to use for invoking the API.For more information, see Connecting to private APIs in the Amazon EventBridge User Guide .
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationConnectivityParameters
default UpdateConnectionRequest.Builder invocationConnectivityParameters(Consumer<ConnectivityResourceParameters.Builder> invocationConnectivityParameters) For connections to private APIs, the parameters to use for invoking the API.
For more information, see Connecting to private APIs in the Amazon EventBridge User Guide .
This is a convenience method that creates an instance of theConnectivityResourceParameters.Builder
avoiding the need to create one manually viaConnectivityResourceParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinvocationConnectivityParameters(ConnectivityResourceParameters)
.- Parameters:
invocationConnectivityParameters
- a consumer that will call methods onConnectivityResourceParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyIdentifier
The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt this connection. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.
If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt the connection.
For more information, see Identify and view keys in the Key Management Service Developer Guide.
- Parameters:
kmsKeyIdentifier
- The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt this connection. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt the connection.
For more information, see Identify and view keys in the Key Management Service Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateConnectionRequest.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
UpdateConnectionRequest.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.
-