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 unique name of the connectorV2. This parameter is required.- Returns:
this
-
provider
Sets the value ofCfnConnectorV2Props.getProvider()- Parameters:
provider- The third-party provider detail for a service configuration. This parameter is required.- Returns:
this
-
provider
@Stability(Stable) public CfnConnectorV2Props.Builder provider(CfnConnectorV2.ProviderProperty provider) Sets the value ofCfnConnectorV2Props.getProvider()- Parameters:
provider- The third-party provider detail for a service configuration. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnConnectorV2Props.getDescription()- Parameters:
description- The description of the connectorV2.- Returns:
this
-
kmsKeyArn
Sets the value ofCfnConnectorV2Props.getKmsKeyArn()- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of KMS key used to encrypt secrets for the connectorV2.- Returns:
this
-
tags
Sets the value ofCfnConnectorV2Props.getTags()- Parameters:
tags- The tags to add to the connectorV2 when you create.- 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
-