Class CfnConnectorMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mgn.CfnConnectorMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorMixinProps>
- Enclosing interface:
CfnConnectorMixinProps
@Stability(Stable)
public static final class CfnConnectorMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorMixinProps>
A builder for
CfnConnectorMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnConnectorMixinProps.getName()ssmCommandConfig(CfnConnectorPropsMixin.ConnectorSsmCommandConfigProperty ssmCommandConfig) Sets the value ofCfnConnectorMixinProps.getSsmCommandConfig()ssmCommandConfig(IResolvable ssmCommandConfig) Sets the value ofCfnConnectorMixinProps.getSsmCommandConfig()ssmInstanceId(String ssmInstanceId) Sets the value ofCfnConnectorMixinProps.getSsmInstanceId()Sets the value ofCfnConnectorMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnConnectorMixinProps.getName()- Parameters:
name- The name of the connector.- Returns:
this
-
ssmCommandConfig
@Stability(Stable) public CfnConnectorMixinProps.Builder ssmCommandConfig(IResolvable ssmCommandConfig) Sets the value ofCfnConnectorMixinProps.getSsmCommandConfig()- Parameters:
ssmCommandConfig- SSM command configuration for the connector.- Returns:
this
-
ssmCommandConfig
@Stability(Stable) public CfnConnectorMixinProps.Builder ssmCommandConfig(CfnConnectorPropsMixin.ConnectorSsmCommandConfigProperty ssmCommandConfig) Sets the value ofCfnConnectorMixinProps.getSsmCommandConfig()- Parameters:
ssmCommandConfig- SSM command configuration for the connector.- Returns:
this
-
ssmInstanceId
Sets the value ofCfnConnectorMixinProps.getSsmInstanceId()- Parameters:
ssmInstanceId- The SSM instance ID associated with this connector.- Returns:
this
-
tags
Sets the value ofCfnConnectorMixinProps.getTags()- Parameters:
tags- Tags to assign to the connector.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorMixinProps>- Returns:
- a new instance of
CfnConnectorMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-