Interface CreateConnectionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateConnectionRequest.Builder,CreateConnectionRequest>,EventBridgeRequest.Builder,SdkBuilder<CreateConnectionRequest.Builder,CreateConnectionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateConnectionRequest
public static interface CreateConnectionRequest.Builder extends EventBridgeRequest.Builder, SdkPojo, CopyableBuilder<CreateConnectionRequest.Builder,CreateConnectionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateConnectionRequest.BuilderauthorizationType(String authorizationType)The type of authorization to use for the connection.CreateConnectionRequest.BuilderauthorizationType(ConnectionAuthorizationType authorizationType)The type of authorization to use for the connection.default CreateConnectionRequest.BuilderauthParameters(Consumer<CreateConnectionAuthRequestParameters.Builder> authParameters)The authorization parameters to use to authorize with the endpoint.CreateConnectionRequest.BuilderauthParameters(CreateConnectionAuthRequestParameters authParameters)The authorization parameters to use to authorize with the endpoint.CreateConnectionRequest.Builderdescription(String description)A description for the connection to create.default CreateConnectionRequest.BuilderinvocationConnectivityParameters(Consumer<ConnectivityResourceParameters.Builder> invocationConnectivityParameters)For connections to private resource endpoints, the parameters to use for invoking the resource endpoint.CreateConnectionRequest.BuilderinvocationConnectivityParameters(ConnectivityResourceParameters invocationConnectivityParameters)For connections to private resource endpoints, the parameters to use for invoking the resource endpoint.CreateConnectionRequest.Buildername(String name)The name for the connection to create.CreateConnectionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateConnectionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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 Detail
-
name
CreateConnectionRequest.Builder name(String 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
CreateConnectionRequest.Builder description(String 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
CreateConnectionRequest.Builder authorizationType(String authorizationType)
The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
- Parameters:
authorizationType- The type of authorization to use for the connection.OAUTH tokens are refreshed when a 401 or 407 response is returned.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConnectionAuthorizationType,ConnectionAuthorizationType
-
authorizationType
CreateConnectionRequest.Builder authorizationType(ConnectionAuthorizationType authorizationType)
The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
- Parameters:
authorizationType- The type of authorization to use for the connection.OAUTH tokens are refreshed when a 401 or 407 response is returned.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConnectionAuthorizationType,ConnectionAuthorizationType
-
authParameters
CreateConnectionRequest.Builder authParameters(CreateConnectionAuthRequestParameters authParameters)
The authorization parameters to use to authorize with the endpoint.
You must include only authorization parameters for the
AuthorizationTypeyou specify.- Parameters:
authParameters- The authorization parameters to use to authorize with the endpoint.You must include only authorization parameters for the
AuthorizationTypeyou specify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authParameters
default CreateConnectionRequest.Builder authParameters(Consumer<CreateConnectionAuthRequestParameters.Builder> authParameters)
The authorization parameters to use to authorize with the endpoint.
You must include only authorization parameters for the
This is a convenience method that creates an instance of theAuthorizationTypeyou specify.CreateConnectionAuthRequestParameters.Builderavoiding the need to create one manually viaCreateConnectionAuthRequestParameters.builder().When the
Consumercompletes,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:
authParameters(CreateConnectionAuthRequestParameters)
-
invocationConnectivityParameters
CreateConnectionRequest.Builder invocationConnectivityParameters(ConnectivityResourceParameters invocationConnectivityParameters)
For connections to private resource endpoints, the parameters to use for invoking the resource endpoint.
For more information, see Connecting to private resources in the Amazon EventBridge User Guide .
- Parameters:
invocationConnectivityParameters- For connections to private resource endpoints, the parameters to use for invoking the resource endpoint.For more information, see Connecting to private resources in the Amazon EventBridge User Guide .
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationConnectivityParameters
default CreateConnectionRequest.Builder invocationConnectivityParameters(Consumer<ConnectivityResourceParameters.Builder> invocationConnectivityParameters)
For connections to private resource endpoints, the parameters to use for invoking the resource endpoint.
For more information, see Connecting to private resources in the Amazon EventBridge User Guide .
This is a convenience method that creates an instance of theConnectivityResourceParameters.Builderavoiding the need to create one manually viaConnectivityResourceParameters.builder().When the
Consumercompletes,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:
invocationConnectivityParameters(ConnectivityResourceParameters)
-
overrideConfiguration
CreateConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-