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