Interface SecurityControl.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SecurityControl.Builder,SecurityControl>,SdkBuilder<SecurityControl.Builder,SecurityControl>,SdkPojo
- Enclosing class:
- SecurityControl
public static interface SecurityControl.Builder extends SdkPojo, CopyableBuilder<SecurityControl.Builder,SecurityControl>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecurityControl.Builderdescription(String description)The description of a security control across standards.SecurityControl.BuilderlastUpdateReason(String lastUpdateReason)The most recent reason for updating the customizable properties of a security control.SecurityControl.Builderparameters(Map<String,ParameterConfiguration> parameters)An object that identifies the name of a control parameter, its current value, and whether it has been customized.SecurityControl.BuilderremediationUrl(String remediationUrl)A link to Security Hub documentation that explains how to remediate a failed finding for a security control.SecurityControl.BuildersecurityControlArn(String securityControlArn)The Amazon Resource Name (ARN) for a security control across standards, such asarn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1.SecurityControl.BuildersecurityControlId(String securityControlId)The unique identifier of a security control across standards.SecurityControl.BuildersecurityControlStatus(String securityControlStatus)The enablement status of a security control in a specific standard.SecurityControl.BuildersecurityControlStatus(ControlStatus securityControlStatus)The enablement status of a security control in a specific standard.SecurityControl.BuilderseverityRating(String severityRating)The severity of a security control.SecurityControl.BuilderseverityRating(SeverityRating severityRating)The severity of a security control.SecurityControl.Buildertitle(String title)The title of a security control.SecurityControl.BuilderupdateStatus(String updateStatus)Identifies whether customizable properties of a security control are reflected in Security Hub findings.SecurityControl.BuilderupdateStatus(UpdateStatus updateStatus)Identifies whether customizable properties of a security control are reflected in Security Hub findings.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
securityControlId
SecurityControl.Builder securityControlId(String securityControlId)
The unique identifier of a security control across standards. Values for this field typically consist of an Amazon Web Services service name and a number, such as APIGateway.3.
- Parameters:
securityControlId- The unique identifier of a security control across standards. Values for this field typically consist of an Amazon Web Services service name and a number, such as APIGateway.3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityControlArn
SecurityControl.Builder securityControlArn(String securityControlArn)
The Amazon Resource Name (ARN) for a security control across standards, such as
arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. This parameter doesn't mention a specific standard.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
title
SecurityControl.Builder title(String title)
The title of a security control.
- Parameters:
title- The title of a security control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
SecurityControl.Builder description(String description)
The description of a security control across standards. This typically summarizes how Security Hub evaluates the control and the conditions under which it produces a failed finding. This parameter doesn't reference a specific standard.
- Parameters:
description- The description of a security control across standards. This typically summarizes how Security Hub evaluates the control and the conditions under which it produces a failed finding. This parameter doesn't reference a specific standard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remediationUrl
SecurityControl.Builder remediationUrl(String remediationUrl)
A link to Security Hub documentation that explains how to remediate a failed finding for a security control.
- Parameters:
remediationUrl- A link to Security Hub documentation that explains how to remediate a failed finding for a security control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityRating
SecurityControl.Builder severityRating(String severityRating)
The severity of a security control. For more information about how Security Hub determines control severity, see Assigning severity to control findings in the Security Hub User Guide.
- Parameters:
severityRating- The severity of a security control. For more information about how Security Hub determines control severity, see Assigning severity to control findings in the Security Hub User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SeverityRating,SeverityRating
-
severityRating
SecurityControl.Builder severityRating(SeverityRating severityRating)
The severity of a security control. For more information about how Security Hub determines control severity, see Assigning severity to control findings in the Security Hub User Guide.
- Parameters:
severityRating- The severity of a security control. For more information about how Security Hub determines control severity, see Assigning severity to control findings in the Security Hub User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SeverityRating,SeverityRating
-
securityControlStatus
SecurityControl.Builder securityControlStatus(String securityControlStatus)
The enablement status of a security control in a specific standard.
- Parameters:
securityControlStatus- The enablement status of a security control in a specific standard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ControlStatus,ControlStatus
-
securityControlStatus
SecurityControl.Builder securityControlStatus(ControlStatus securityControlStatus)
The enablement status of a security control in a specific standard.
- Parameters:
securityControlStatus- The enablement status of a security control in a specific standard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ControlStatus,ControlStatus
-
updateStatus
SecurityControl.Builder updateStatus(String updateStatus)
Identifies whether customizable properties of a security control are reflected in Security Hub findings. A status of
READYindicates that Security Hub uses the current control parameter values when running security checks of the control. A status ofUPDATINGindicates that all security checks might not use the current parameter values.- Parameters:
updateStatus- Identifies whether customizable properties of a security control are reflected in Security Hub findings. A status ofREADYindicates that Security Hub uses the current control parameter values when running security checks of the control. A status ofUPDATINGindicates that all security checks might not use the current parameter values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UpdateStatus,UpdateStatus
-
updateStatus
SecurityControl.Builder updateStatus(UpdateStatus updateStatus)
Identifies whether customizable properties of a security control are reflected in Security Hub findings. A status of
READYindicates that Security Hub uses the current control parameter values when running security checks of the control. A status ofUPDATINGindicates that all security checks might not use the current parameter values.- Parameters:
updateStatus- Identifies whether customizable properties of a security control are reflected in Security Hub findings. A status ofREADYindicates that Security Hub uses the current control parameter values when running security checks of the control. A status ofUPDATINGindicates that all security checks might not use the current parameter values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UpdateStatus,UpdateStatus
-
parameters
SecurityControl.Builder parameters(Map<String,ParameterConfiguration> parameters)
An object that identifies the name of a control parameter, its current value, and whether it has been customized.
- Parameters:
parameters- An object that identifies the name of a control parameter, its current value, and whether it has been customized.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateReason
SecurityControl.Builder lastUpdateReason(String lastUpdateReason)
The most recent reason for updating the customizable properties of a security control. This differs from the
UpdateReasonfield 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.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
-