@Stability(value=Experimental) public static final class ConnectionProps.Builder extends Object implements software.amazon.jsii.Builder<ConnectionProps>
ConnectionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionProps |
build()
Builds the configured instance.
|
ConnectionProps.Builder |
connectionName(String connectionName)
Sets the value of
ConnectionOptions.getConnectionName() |
ConnectionProps.Builder |
description(String description)
Sets the value of
ConnectionOptions.getDescription() |
ConnectionProps.Builder |
matchCriteria(List<String> matchCriteria)
Sets the value of
ConnectionOptions.getMatchCriteria() |
ConnectionProps.Builder |
properties(Map<String,String> properties)
Sets the value of
ConnectionOptions.getProperties() |
ConnectionProps.Builder |
securityGroups(List<? extends ISecurityGroup> securityGroups)
Sets the value of
ConnectionOptions.getSecurityGroups() |
ConnectionProps.Builder |
subnet(ISubnet subnet)
Sets the value of
ConnectionOptions.getSubnet() |
ConnectionProps.Builder |
type(ConnectionType type)
Sets the value of
ConnectionProps.getType() |
@Stability(value=Experimental) public ConnectionProps.Builder type(ConnectionType type)
ConnectionProps.getType()type - The type of the connection. This parameter is required.this@Stability(value=Experimental) public ConnectionProps.Builder connectionName(String connectionName)
ConnectionOptions.getConnectionName()connectionName - The name of the connection.this@Stability(value=Experimental) public ConnectionProps.Builder description(String description)
ConnectionOptions.getDescription()description - The description of the connection.this@Stability(value=Experimental) public ConnectionProps.Builder matchCriteria(List<String> matchCriteria)
ConnectionOptions.getMatchCriteria()matchCriteria - 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.htmlthis@Stability(value=Experimental) public ConnectionProps.Builder properties(Map<String,String> properties)
ConnectionOptions.getProperties()properties - Key-Value pairs that define parameters for the connection.this@Stability(value=Experimental) public ConnectionProps.Builder securityGroups(List<? extends ISecurityGroup> securityGroups)
ConnectionOptions.getSecurityGroups()securityGroups - The list of security groups needed to successfully make this connection e.g. to successfully connect to VPC.this@Stability(value=Experimental) public ConnectionProps.Builder subnet(ISubnet subnet)
ConnectionOptions.getSubnet()subnet - The VPC subnet to connect to resources within a VPC.
See more at https://docs.aws.amazon.com/glue/latest/dg/start-connecting.html.this@Stability(value=Experimental) public ConnectionProps build()
build in interface software.amazon.jsii.Builder<ConnectionProps>ConnectionPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.