public static final class Connection.Builder
extends java.lang.Object
Connection
.Modifier and Type | Method and Description |
---|---|
Connection |
build() |
Connection.Builder |
connectionName(java.lang.String connectionName)
(experimental) The name of the connection.
|
static Connection.Builder |
create(software.constructs.Construct scope,
java.lang.String id) |
Connection.Builder |
description(java.lang.String description)
(experimental) The description of the connection.
|
Connection.Builder |
matchCriteria(java.util.List<java.lang.String> matchCriteria)
(experimental) A list of criteria that can be used in selecting this connection.
|
Connection.Builder |
properties(java.util.Map<java.lang.String,java.lang.String> properties)
(experimental) Key-Value pairs that define parameters for the connection.
|
Connection.Builder |
securityGroups(java.util.List<? extends ISecurityGroup> securityGroups)
(experimental) The list of security groups needed to successfully make this connection e.g.
|
Connection.Builder |
subnet(ISubnet subnet)
(experimental) The VPC subnet to connect to resources within a VPC.
|
Connection.Builder |
type(ConnectionType type)
(experimental) The type of the connection.
|
public static Connection.Builder create(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.Connection.Builder
.public Connection.Builder connectionName(java.lang.String connectionName)
Default: cloudformation generated name
connectionName
- The name of the connection. This parameter is required.this
public Connection.Builder description(java.lang.String description)
Default: no description
description
- The description of the connection. This parameter is required.this
public Connection.Builder matchCriteria(java.util.List<java.lang.String> matchCriteria)
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
matchCriteria
- A list of criteria that can be used in selecting this connection. This parameter is required.this
public Connection.Builder properties(java.util.Map<java.lang.String,java.lang.String> properties)
Default: empty properties
properties
- Key-Value pairs that define parameters for the connection. This parameter is required.this
https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-connect.html
public Connection.Builder securityGroups(java.util.List<? extends ISecurityGroup> securityGroups)
Default: no security group
securityGroups
- The list of security groups needed to successfully make this connection e.g. to successfully connect to VPC. This parameter is required.this
public Connection.Builder subnet(ISubnet subnet)
See more at https://docs.aws.amazon.com/glue/latest/dg/start-connecting.html.
Default: no subnet
subnet
- The VPC subnet to connect to resources within a VPC. This parameter is required.this
public Connection.Builder type(ConnectionType type)
type
- The type of the connection. This parameter is required.this
public Connection build()