Class CfnCloudConnectorMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ssm.CfnCloudConnectorMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCloudConnectorMixinProps>
- Enclosing interface:
CfnCloudConnectorMixinProps
@Stability(Stable)
public static final class CfnCloudConnectorMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCloudConnectorMixinProps>
A builder for
CfnCloudConnectorMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configConnectorArn(String configConnectorArn) Sets the value ofCfnCloudConnectorMixinProps.getConfigConnectorArn()Sets the value ofCfnCloudConnectorMixinProps.getConfiguration()configuration(IResolvable configuration) Sets the value ofCfnCloudConnectorMixinProps.getConfiguration()description(String description) Sets the value ofCfnCloudConnectorMixinProps.getDescription()displayName(String displayName) Sets the value ofCfnCloudConnectorMixinProps.getDisplayName()Sets the value ofCfnCloudConnectorMixinProps.getRoleArn()Sets the value ofCfnCloudConnectorMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configConnectorArn
@Stability(Stable) public CfnCloudConnectorMixinProps.Builder configConnectorArn(String configConnectorArn) Sets the value ofCfnCloudConnectorMixinProps.getConfigConnectorArn()- Parameters:
configConnectorArn- The ARN of the AWS Config connector.- Returns:
this
-
configuration
@Stability(Stable) public CfnCloudConnectorMixinProps.Builder configuration(IResolvable configuration) Sets the value ofCfnCloudConnectorMixinProps.getConfiguration()- Parameters:
configuration- The configuration for the cloud connector. Currently supports Azure.- Returns:
this
-
configuration
@Stability(Stable) public CfnCloudConnectorMixinProps.Builder configuration(CfnCloudConnectorPropsMixin.CloudConnectorConfigurationProperty configuration) Sets the value ofCfnCloudConnectorMixinProps.getConfiguration()- Parameters:
configuration- The configuration for the cloud connector. Currently supports Azure.- Returns:
this
-
description
Sets the value ofCfnCloudConnectorMixinProps.getDescription()- Parameters:
description- The description of the cloud connector.- Returns:
this
-
displayName
Sets the value ofCfnCloudConnectorMixinProps.getDisplayName()- Parameters:
displayName- The display name of the cloud connector.- Returns:
this
-
roleArn
Sets the value ofCfnCloudConnectorMixinProps.getRoleArn()- Parameters:
roleArn- The IAM role ARN used by the cloud connector.- Returns:
this
-
tags
Sets the value ofCfnCloudConnectorMixinProps.getTags()- Parameters:
tags- Tags to apply to the cloud connector.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCloudConnectorMixinProps>- Returns:
- a new instance of
CfnCloudConnectorMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-