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