Class CfnConnectorMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityhub.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()provider(IResolvable provider) Sets the value ofCfnConnectorMixinProps.getProvider()Sets the value ofCfnConnectorMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnConnectorMixinProps.getDescription()- Parameters:
description- The description of the connector.- Returns:
this
-
name
Sets the value ofCfnConnectorMixinProps.getName()- Parameters:
name- The name of the connector.- Returns:
this
-
provider
Sets the value ofCfnConnectorMixinProps.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provider
@Stability(Stable) public CfnConnectorMixinProps.Builder provider(CfnConnectorPropsMixin.ProviderProperty provider) Sets the value ofCfnConnectorMixinProps.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnConnectorMixinProps.getTags()- Parameters:
tags- A key-value pair to associate with a resource.- 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
-