Class CfnSecurityControlMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityhub.CfnSecurityControlMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityControlMixinProps>
- Enclosing interface:
CfnSecurityControlMixinProps
@Stability(Stable)
public static final class CfnSecurityControlMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityControlMixinProps>
A builder for
CfnSecurityControlMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.lastUpdateReason(String lastUpdateReason) Sets the value ofCfnSecurityControlMixinProps.getLastUpdateReason()parameters(Map<String, ? extends Object> parameters) Sets the value ofCfnSecurityControlMixinProps.getParameters()parameters(IResolvable parameters) Sets the value ofCfnSecurityControlMixinProps.getParameters()securityControlArn(String securityControlArn) Sets the value ofCfnSecurityControlMixinProps.getSecurityControlArn()securityControlId(String securityControlId) Sets the value ofCfnSecurityControlMixinProps.getSecurityControlId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lastUpdateReason
@Stability(Stable) public CfnSecurityControlMixinProps.Builder lastUpdateReason(String lastUpdateReason) Sets the value ofCfnSecurityControlMixinProps.getLastUpdateReason()- Parameters:
lastUpdateReason- The most recent reason for updating the customizable properties of a security control. This differs from theUpdateReasonfield of theBatchUpdateStandardsControlAssociationsAPI, which tracks the reason for updating the enablement status of a control. This field accepts alphanumeric characters in addition to white spaces, dashes, and underscores.- Returns:
this
-
parameters
Sets the value ofCfnSecurityControlMixinProps.getParameters()- Parameters:
parameters- An object that identifies the name of a control parameter, its current value, and whether it has been customized.- Returns:
this
-
parameters
@Stability(Stable) public CfnSecurityControlMixinProps.Builder parameters(Map<String, ? extends Object> parameters) Sets the value ofCfnSecurityControlMixinProps.getParameters()- Parameters:
parameters- An object that identifies the name of a control parameter, its current value, and whether it has been customized.- Returns:
this
-
securityControlArn
@Stability(Stable) public CfnSecurityControlMixinProps.Builder securityControlArn(String securityControlArn) Sets the value ofCfnSecurityControlMixinProps.getSecurityControlArn()- Parameters:
securityControlArn- The Amazon Resource Name (ARN) for a security control across standards, such asarn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. This parameter doesn't mention a specific standard.- Returns:
this
-
securityControlId
@Stability(Stable) public CfnSecurityControlMixinProps.Builder securityControlId(String securityControlId) Sets the value ofCfnSecurityControlMixinProps.getSecurityControlId()- Parameters:
securityControlId- The unique identifier of a security control across standards. Values for this field typically consist of an AWS service name and a number, such as APIGateway.3.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSecurityControlMixinProps>- Returns:
- a new instance of
CfnSecurityControlMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-