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