Class CfnConnectorProps.Builder
java.lang.Object
software.amazon.awscdk.services.config.CfnConnectorProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProps>
- Enclosing interface:
CfnConnectorProps
@Stability(Stable)
public static final class CfnConnectorProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorProps>
A builder for
CfnConnectorProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectorConfiguration(IResolvable connectorConfiguration) Sets the value ofCfnConnectorProps.getConnectorConfiguration()connectorConfiguration(CfnConnector.ConnectorConfigurationProperty connectorConfiguration) Sets the value ofCfnConnectorProps.getConnectorConfiguration()Sets the value ofCfnConnectorProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectorConfiguration
@Stability(Stable) public CfnConnectorProps.Builder connectorConfiguration(IResolvable connectorConfiguration) Sets the value ofCfnConnectorProps.getConnectorConfiguration()- Parameters:
connectorConfiguration- The configuration for the connector. This parameter is required. Specify the third-party cloud provider configuration.- Returns:
this
-
connectorConfiguration
@Stability(Stable) public CfnConnectorProps.Builder connectorConfiguration(CfnConnector.ConnectorConfigurationProperty connectorConfiguration) Sets the value ofCfnConnectorProps.getConnectorConfiguration()- Parameters:
connectorConfiguration- The configuration for the connector. This parameter is required. Specify the third-party cloud provider configuration.- Returns:
this
-
tags
Sets the value ofCfnConnectorProps.getTags()- Parameters:
tags- The tags for the connector.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorProps>- Returns:
- a new instance of
CfnConnectorProps - Throws:
NullPointerException- if any required attribute was not provided
-