Class CfnPrivateConnectionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devopsagent.CfnPrivateConnectionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrivateConnectionMixinProps>
- Enclosing interface:
CfnPrivateConnectionMixinProps
@Stability(Stable)
public static final class CfnPrivateConnectionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrivateConnectionMixinProps>
A builder for
CfnPrivateConnectionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.certificate(String certificate) Sets the value ofCfnPrivateConnectionMixinProps.getCertificate()connectionConfiguration(CfnPrivateConnectionPropsMixin.ConnectionConfigurationProperty connectionConfiguration) Sets the value ofCfnPrivateConnectionMixinProps.getConnectionConfiguration()connectionConfiguration(IResolvable connectionConfiguration) Sets the value ofCfnPrivateConnectionMixinProps.getConnectionConfiguration()Sets the value ofCfnPrivateConnectionMixinProps.getName()Sets the value ofCfnPrivateConnectionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificate
Sets the value ofCfnPrivateConnectionMixinProps.getCertificate()- Parameters:
certificate- Certificate for the Private Connection.- Returns:
this
-
connectionConfiguration
@Stability(Stable) public CfnPrivateConnectionMixinProps.Builder connectionConfiguration(IResolvable connectionConfiguration) Sets the value ofCfnPrivateConnectionMixinProps.getConnectionConfiguration()- Parameters:
connectionConfiguration- The connection configuration, either SelfManaged or ServiceManaged.- Returns:
this
-
connectionConfiguration
@Stability(Stable) public CfnPrivateConnectionMixinProps.Builder connectionConfiguration(CfnPrivateConnectionPropsMixin.ConnectionConfigurationProperty connectionConfiguration) Sets the value ofCfnPrivateConnectionMixinProps.getConnectionConfiguration()- Parameters:
connectionConfiguration- The connection configuration, either SelfManaged or ServiceManaged.- Returns:
this
-
name
Sets the value ofCfnPrivateConnectionMixinProps.getName()- Parameters:
name- Unique name for this Private Connection within the account.- Returns:
this
-
tags
Sets the value ofCfnPrivateConnectionMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPrivateConnectionMixinProps>- Returns:
- a new instance of
CfnPrivateConnectionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-