Class CfnPrivateConnection.ConnectionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnPrivateConnection.ConnectionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrivateConnection.ConnectionConfigurationProperty>
- Enclosing interface:
CfnPrivateConnection.ConnectionConfigurationProperty
@Stability(Stable)
public static final class CfnPrivateConnection.ConnectionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrivateConnection.ConnectionConfigurationProperty>
A builder for
CfnPrivateConnection.ConnectionConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.selfManaged(IResolvable selfManaged) Sets the value ofCfnPrivateConnection.ConnectionConfigurationProperty.getSelfManaged()selfManaged(CfnPrivateConnection.SelfManagedModeProperty selfManaged) Sets the value ofCfnPrivateConnection.ConnectionConfigurationProperty.getSelfManaged()serviceManaged(IResolvable serviceManaged) Sets the value ofCfnPrivateConnection.ConnectionConfigurationProperty.getServiceManaged()serviceManaged(CfnPrivateConnection.ServiceManagedModeProperty serviceManaged) Sets the value ofCfnPrivateConnection.ConnectionConfigurationProperty.getServiceManaged()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
selfManaged
@Stability(Stable) public CfnPrivateConnection.ConnectionConfigurationProperty.Builder selfManaged(IResolvable selfManaged) Sets the value ofCfnPrivateConnection.ConnectionConfigurationProperty.getSelfManaged()- Parameters:
selfManaged- Configuration for a self-managed Private Connection.- Returns:
this
-
selfManaged
@Stability(Stable) public CfnPrivateConnection.ConnectionConfigurationProperty.Builder selfManaged(CfnPrivateConnection.SelfManagedModeProperty selfManaged) Sets the value ofCfnPrivateConnection.ConnectionConfigurationProperty.getSelfManaged()- Parameters:
selfManaged- Configuration for a self-managed Private Connection.- Returns:
this
-
serviceManaged
@Stability(Stable) public CfnPrivateConnection.ConnectionConfigurationProperty.Builder serviceManaged(IResolvable serviceManaged) Sets the value ofCfnPrivateConnection.ConnectionConfigurationProperty.getServiceManaged()- Parameters:
serviceManaged- Configuration for a service-managed Private Connection.- Returns:
this
-
serviceManaged
@Stability(Stable) public CfnPrivateConnection.ConnectionConfigurationProperty.Builder serviceManaged(CfnPrivateConnection.ServiceManagedModeProperty serviceManaged) Sets the value ofCfnPrivateConnection.ConnectionConfigurationProperty.getServiceManaged()- Parameters:
serviceManaged- Configuration for a service-managed Private Connection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPrivateConnection.ConnectionConfigurationProperty>- Returns:
- a new instance of
CfnPrivateConnection.ConnectionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-