Class Connection.Builder

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

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

    • create

      @Stability(Experimental) public static Connection.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of Connection.Builder.
    • connectionName

      @Stability(Experimental) public Connection.Builder connectionName(String connectionName)
      (experimental) The name of the connection.

      Default: cloudformation generated name

      Parameters:
      connectionName - The name of the connection. This parameter is required.
      Returns:
      this
    • description

      @Stability(Experimental) public Connection.Builder description(String description)
      (experimental) The description of the connection.

      Default: no description

      Parameters:
      description - The description of the connection. This parameter is required.
      Returns:
      this
    • matchCriteria

      @Stability(Experimental) public Connection.Builder matchCriteria(List<String> matchCriteria)
      (experimental) A list of criteria that can be used in selecting this connection.

      This is useful for filtering the results of https://awscli.amazonaws.com/v2/documentation/api/latest/reference/glue/get-connections.html

      Default: no match criteria

      Parameters:
      matchCriteria - A list of criteria that can be used in selecting this connection. This parameter is required.
      Returns:
      this
    • properties

      @Stability(Experimental) public Connection.Builder properties(Map<String,String> properties)
      (experimental) Key-Value pairs that define parameters for the connection.

      Default: empty properties

      Parameters:
      properties - Key-Value pairs that define parameters for the connection. This parameter is required.
      Returns:
      this
      See Also:
    • securityGroups

      @Stability(Experimental) public Connection.Builder securityGroups(List<? extends ISecurityGroup> securityGroups)
      (experimental) The list of security groups needed to successfully make this connection e.g. to successfully connect to VPC.

      Default: no security group

      Parameters:
      securityGroups - The list of security groups needed to successfully make this connection e.g. to successfully connect to VPC. This parameter is required.
      Returns:
      this
    • subnet

      @Stability(Experimental) public Connection.Builder subnet(ISubnet subnet)
      (experimental) The VPC subnet to connect to resources within a VPC.

      See more at https://docs.aws.amazon.com/glue/latest/dg/start-connecting.html.

      Default: no subnet

      Parameters:
      subnet - The VPC subnet to connect to resources within a VPC. This parameter is required.
      Returns:
      this
    • type

      @Stability(Experimental) public Connection.Builder type(ConnectionType type)
      (experimental) The type of the connection.

      Parameters:
      type - The type of the connection. This parameter is required.
      Returns:
      this
    • build

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