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