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