Class CfnHubV2Props.Builder
java.lang.Object
software.amazon.awscdk.services.securityhub.CfnHubV2Props.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHubV2Props>
- Enclosing interface:
CfnHubV2Props
@Stability(Stable)
public static final class CfnHubV2Props.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHubV2Props>
A builder for
CfnHubV2Props
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnHubV2Props.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tags
Sets the value ofCfnHubV2Props.getTags()
- Parameters:
tags
- The tags to add to the hub V2 resource when you enable Security Hub.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnHubV2Props>
- Returns:
- a new instance of
CfnHubV2Props
- Throws:
NullPointerException
- if any required attribute was not provided
-