Class CfnConnectorProps.Builder
java.lang.Object
software.amazon.awscdk.services.inspectorv2.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.description(String description) Sets the value ofCfnConnectorProps.getDescription()Sets the value ofCfnConnectorProps.getName()Sets the value ofCfnConnectorProps.getProvider()providerConfiguration(IResolvable providerConfiguration) Sets the value ofCfnConnectorProps.getProviderConfiguration()providerConfiguration(CfnConnector.ProviderConfigurationProperty providerConfiguration) Sets the value ofCfnConnectorProps.getProviderConfiguration()Sets the value ofCfnConnectorProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnConnectorProps.getName()- Parameters:
name- Display name for the connector. This parameter is required.- Returns:
this
-
provider
Sets the value ofCfnConnectorProps.getProvider()- Parameters:
provider- the value to be set. This parameter is required.- Returns:
this
-
providerConfiguration
@Stability(Stable) public CfnConnectorProps.Builder providerConfiguration(IResolvable providerConfiguration) Sets the value ofCfnConnectorProps.getProviderConfiguration()- Parameters:
providerConfiguration- the value to be set. This parameter is required.- Returns:
this
-
providerConfiguration
@Stability(Stable) public CfnConnectorProps.Builder providerConfiguration(CfnConnector.ProviderConfigurationProperty providerConfiguration) Sets the value ofCfnConnectorProps.getProviderConfiguration()- Parameters:
providerConfiguration- the value to be set. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnConnectorProps.getDescription()- Parameters:
description- Optional description of the connector.- Returns:
this
-
tags
Sets the value ofCfnConnectorProps.getTags()- Parameters:
tags- Tags to apply 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
-