Class CfnConnection.Builder
java.lang.Object
software.amazon.awscdk.services.codeconnections.CfnConnection.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnection>
- Enclosing class:
CfnConnection
@Stability(Stable)
public static final class CfnConnection.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnection>
A fluent builder for
CfnConnection
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
connectionName
(String connectionName) The name of the connection.static CfnConnection.Builder
The Amazon Resource Name (ARN) of the host associated with the connection.providerType
(String providerType) The name of the external provider where your third-party code repository is configured.Specifies the tags applied to a connection.
-
Method Details
-
create
@Stability(Stable) public static CfnConnection.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnConnection.Builder
.
-
connectionName
The name of the connection.Connection names must be unique in an AWS account .
- Parameters:
connectionName
- The name of the connection. This parameter is required.- Returns:
this
- See Also:
-
hostArn
The Amazon Resource Name (ARN) of the host associated with the connection.- Parameters:
hostArn
- The Amazon Resource Name (ARN) of the host associated with the connection. This parameter is required.- Returns:
this
- See Also:
-
providerType
The name of the external provider where your third-party code repository is configured.- Parameters:
providerType
- The name of the external provider where your third-party code repository is configured. This parameter is required.- Returns:
this
- See Also:
-
tags
Specifies the tags applied to a connection.- Parameters:
tags
- Specifies the tags applied to a connection. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConnection>
- Returns:
- a newly built instance of
CfnConnection
.
-