Class CfnConnectionAlias.Builder

java.lang.Object
software.amazon.awscdk.services.workspaces.CfnConnectionAlias.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionAlias>
Enclosing class:
CfnConnectionAlias

@Stability(Stable) public static final class CfnConnectionAlias.Builder extends Object implements software.amazon.jsii.Builder<CfnConnectionAlias>
A fluent builder for CfnConnectionAlias.
  • Method Details

    • create

      @Stability(Stable) public static CfnConnectionAlias.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnConnectionAlias.Builder.
    • connectionString

      @Stability(Stable) public CfnConnectionAlias.Builder connectionString(String connectionString)
      The connection string specified for the connection alias.

      The connection string must be in the form of a fully qualified domain name (FQDN), such as www.example.com .

      Parameters:
      connectionString - The connection string specified for the connection alias. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnConnectionAlias.Builder tags(List<? extends CfnTag> tags)
      The tags to associate with the connection alias.

      Parameters:
      tags - The tags to associate with the connection alias. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnConnectionAlias build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnConnectionAlias>
      Returns:
      a newly built instance of CfnConnectionAlias.