Class CfnConnectorV2Props.Builder
java.lang.Object
software.amazon.awscdk.services.securityhub.CfnConnectorV2Props.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorV2Props>
- Enclosing interface:
CfnConnectorV2Props
@Stability(Stable)
public static final class CfnConnectorV2Props.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorV2Props>
A builder for
CfnConnectorV2Props-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnConnectorV2Props.getDescription()Sets the value ofCfnConnectorV2Props.getKmsKeyArn()Sets the value ofCfnConnectorV2Props.getName()provider(IResolvable provider) Sets the value ofCfnConnectorV2Props.getProvider()provider(CfnConnectorV2.ProviderProperty provider) Sets the value ofCfnConnectorV2Props.getProvider()Sets the value ofCfnConnectorV2Props.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnConnectorV2Props.getName()- Parameters:
name- The name of the connector. This parameter is required.- Returns:
this
-
provider
Sets the value ofCfnConnectorV2Props.getProvider()- Parameters:
provider- The provider configuration of the connector. This parameter is required.- Returns:
this
-
provider
@Stability(Stable) public CfnConnectorV2Props.Builder provider(CfnConnectorV2.ProviderProperty provider) Sets the value ofCfnConnectorV2Props.getProvider()- Parameters:
provider- The provider configuration of the connector. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnConnectorV2Props.getDescription()- Parameters:
description- A description of the connector.- Returns:
this
-
kmsKeyArn
Sets the value ofCfnConnectorV2Props.getKmsKeyArn()- Parameters:
kmsKeyArn- The ARN of KMS key used for the connector.- Returns:
this
-
tags
Sets the value ofCfnConnectorV2Props.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<CfnConnectorV2Props>- Returns:
- a new instance of
CfnConnectorV2Props - Throws:
NullPointerException- if any required attribute was not provided
-