Class CfnPrivateConnectionProps.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnPrivateConnectionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrivateConnectionProps>
- Enclosing interface:
CfnPrivateConnectionProps
@Stability(Stable)
public static final class CfnPrivateConnectionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrivateConnectionProps>
A builder for
CfnPrivateConnectionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.certificate(String certificate) Sets the value ofCfnPrivateConnectionProps.getCertificate()connectionConfiguration(IResolvable connectionConfiguration) Sets the value ofCfnPrivateConnectionProps.getConnectionConfiguration()connectionConfiguration(CfnPrivateConnection.ConnectionConfigurationProperty connectionConfiguration) Sets the value ofCfnPrivateConnectionProps.getConnectionConfiguration()Sets the value ofCfnPrivateConnectionProps.getName()Sets the value ofCfnPrivateConnectionProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionConfiguration
@Stability(Stable) public CfnPrivateConnectionProps.Builder connectionConfiguration(IResolvable connectionConfiguration) Sets the value ofCfnPrivateConnectionProps.getConnectionConfiguration()- Parameters:
connectionConfiguration- The connection configuration, either SelfManaged or ServiceManaged. This parameter is required.- Returns:
this
-
connectionConfiguration
@Stability(Stable) public CfnPrivateConnectionProps.Builder connectionConfiguration(CfnPrivateConnection.ConnectionConfigurationProperty connectionConfiguration) Sets the value ofCfnPrivateConnectionProps.getConnectionConfiguration()- Parameters:
connectionConfiguration- The connection configuration, either SelfManaged or ServiceManaged. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnPrivateConnectionProps.getName()- Parameters:
name- Unique name for this Private Connection within the account. This parameter is required.- Returns:
this
-
certificate
Sets the value ofCfnPrivateConnectionProps.getCertificate()- Parameters:
certificate- Certificate for the Private Connection.- Returns:
this
-
tags
Sets the value ofCfnPrivateConnectionProps.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<CfnPrivateConnectionProps>- Returns:
- a new instance of
CfnPrivateConnectionProps - Throws:
NullPointerException- if any required attribute was not provided
-