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