Class CfnConnectorProps.Builder
java.lang.Object
software.amazon.awscdk.services.mgn.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.Sets the value ofCfnConnectorProps.getName()ssmCommandConfig(IResolvable ssmCommandConfig) Sets the value ofCfnConnectorProps.getSsmCommandConfig()ssmCommandConfig(CfnConnector.ConnectorSsmCommandConfigProperty ssmCommandConfig) Sets the value ofCfnConnectorProps.getSsmCommandConfig()ssmInstanceId(String ssmInstanceId) Sets the value ofCfnConnectorProps.getSsmInstanceId()Sets the value ofCfnConnectorProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnConnectorProps.getName()- Parameters:
name- The name of the connector. This parameter is required.- Returns:
this
-
ssmInstanceId
Sets the value ofCfnConnectorProps.getSsmInstanceId()- Parameters:
ssmInstanceId- The SSM instance ID associated with this connector. This parameter is required.- Returns:
this
-
ssmCommandConfig
Sets the value ofCfnConnectorProps.getSsmCommandConfig()- Parameters:
ssmCommandConfig- SSM command configuration for the connector.- Returns:
this
-
ssmCommandConfig
@Stability(Stable) public CfnConnectorProps.Builder ssmCommandConfig(CfnConnector.ConnectorSsmCommandConfigProperty ssmCommandConfig) Sets the value ofCfnConnectorProps.getSsmCommandConfig()- Parameters:
ssmCommandConfig- SSM command configuration for the connector.- Returns:
this
-
tags
Sets the value ofCfnConnectorProps.getTags()- Parameters:
tags- Tags to assign to 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
-