Class HubV2Reference.Builder
java.lang.Object
software.amazon.awscdk.services.securityhub.HubV2Reference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HubV2Reference>
- Enclosing interface:
HubV2Reference
@Stability(Stable)
public static final class HubV2Reference.Builder
extends Object
implements software.amazon.jsii.Builder<HubV2Reference>
A builder for
HubV2Reference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofHubV2Reference.getHubV2Arn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hubV2Arn
Sets the value ofHubV2Reference.getHubV2Arn()
- Parameters:
hubV2Arn
- The HubV2Arn of the HubV2 resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<HubV2Reference>
- Returns:
- a new instance of
HubV2Reference
- Throws:
NullPointerException
- if any required attribute was not provided
-