Class CfnSession.ConnectionsListProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnSession.ConnectionsListProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSession.ConnectionsListProperty>
- Enclosing interface:
CfnSession.ConnectionsListProperty
@Stability(Stable)
public static final class CfnSession.ConnectionsListProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSession.ConnectionsListProperty>
A builder for
CfnSession.ConnectionsListProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connections(List<String> connections) Sets the value ofCfnSession.ConnectionsListProperty.getConnections()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connections
@Stability(Stable) public CfnSession.ConnectionsListProperty.Builder connections(List<String> connections) Sets the value ofCfnSession.ConnectionsListProperty.getConnections()- Parameters:
connections- A list of connection names used by the session.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSession.ConnectionsListProperty>- Returns:
- a new instance of
CfnSession.ConnectionsListProperty - Throws:
NullPointerException- if any required attribute was not provided
-