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