Class ConnectionOptions.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.ConnectionOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ConnectionOptions>
- Enclosing interface:
ConnectionOptions
@Stability(Deprecated)
@Deprecated
public static final class ConnectionOptions.Builder
extends Object
implements software.amazon.jsii.Builder<ConnectionOptions>
Deprecated.
A builder for
ConnectionOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.connectionName(String connectionName) Deprecated.description(String description) Deprecated.matchCriteria(List<String> matchCriteria) Deprecated.network(ConnectionNetwork network) Deprecated.properties(Map<String, String> properties) Deprecated.secret(ISecretRef secret) Deprecated.securityGroups(List<? extends ISecurityGroup> securityGroups) Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
connectionName
@Stability(Deprecated) @Deprecated public ConnectionOptions.Builder connectionName(String connectionName) Deprecated.Sets the value ofConnectionOptions.getConnectionName()- Parameters:
connectionName- The name of the connection.- Returns:
this
-
description
Deprecated.Sets the value ofConnectionOptions.getDescription()- Parameters:
description- The description of the connection.- Returns:
this
-
matchCriteria
@Stability(Deprecated) @Deprecated public ConnectionOptions.Builder matchCriteria(List<String> matchCriteria) Deprecated.Sets the value ofConnectionOptions.getMatchCriteria()- Parameters:
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.html- Returns:
this
-
network
@Stability(Deprecated) @Deprecated public ConnectionOptions.Builder network(ConnectionNetwork network) Deprecated.Sets the value ofConnectionOptions.getNetwork()- Parameters:
network- The VPC network placement for this connection, so it can reach resources inside a VPC. See more at https://docs.aws.amazon.com/glue/latest/dg/start-connecting.html. Build it withConnectionNetwork.subnet(subnet)to pin a specific subnet, orConnectionNetwork.vpc(vpc, vpcSubnets?)to let the CDK select one.- Returns:
this
-
properties
@Stability(Deprecated) @Deprecated public ConnectionOptions.Builder properties(Map<String, String> properties) Deprecated.Sets the value ofConnectionOptions.getProperties()- Parameters:
properties- Key-Value pairs that define parameters for the connection.- Returns:
this
-
secret
Deprecated.Sets the value ofConnectionOptions.getSecret()- Parameters:
secret- A reference to a Secrets Manager secret holding the credentials for this connection. The secret is referenced through the connection'sSECRET_IDproperty, so Glue reads the credentials at runtime and the secret value never appears in the synthesized template. Prefer this over placing credentials directly inproperties. Accepts anysecretsmanager.ISecret.- Returns:
this
-
securityGroups
@Stability(Deprecated) @Deprecated public ConnectionOptions.Builder securityGroups(List<? extends ISecurityGroup> securityGroups) Deprecated.Sets the value ofConnectionOptions.getSecurityGroups()- Parameters:
securityGroups- The list of security groups needed to successfully make this connection e.g. to successfully connect to VPC.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ConnectionOptions>- Returns:
- a new instance of
ConnectionOptions - Throws:
NullPointerException- if any required attribute was not provided
-