@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SecurityControl extends Object implements Serializable, Cloneable, StructuredPojo
A security control in Security Hub describes a security best practice related to a specific resource.
Constructor and Description |
---|
SecurityControl() |
Modifier and Type | Method and Description |
---|---|
SecurityControl |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of a security control across standards.
|
String |
getRemediationUrl()
A link to Security Hub documentation that explains how to remediate a failed finding for a security control.
|
String |
getSecurityControlArn()
The Amazon Resource Name (ARN) for a security control across standards, such as
arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1 . |
String |
getSecurityControlId()
The unique identifier of a security control across standards.
|
String |
getSecurityControlStatus()
The status of a security control based on the compliance status of its findings.
|
String |
getSeverityRating()
The severity of a security control.
|
String |
getTitle()
The title of a security control.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
The description of a security control across standards.
|
void |
setRemediationUrl(String remediationUrl)
A link to Security Hub documentation that explains how to remediate a failed finding for a security control.
|
void |
setSecurityControlArn(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 . |
void |
setSecurityControlId(String securityControlId)
The unique identifier of a security control across standards.
|
void |
setSecurityControlStatus(String securityControlStatus)
The status of a security control based on the compliance status of its findings.
|
void |
setSeverityRating(String severityRating)
The severity of a security control.
|
void |
setTitle(String title)
The title of a security control.
|
String |
toString()
Returns a string representation of this object.
|
SecurityControl |
withDescription(String description)
The description of a security control across standards.
|
SecurityControl |
withRemediationUrl(String remediationUrl)
A link to Security Hub documentation that explains how to remediate a failed finding for a security control.
|
SecurityControl |
withSecurityControlArn(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 . |
SecurityControl |
withSecurityControlId(String securityControlId)
The unique identifier of a security control across standards.
|
SecurityControl |
withSecurityControlStatus(ControlStatus securityControlStatus)
The status of a security control based on the compliance status of its findings.
|
SecurityControl |
withSecurityControlStatus(String securityControlStatus)
The status of a security control based on the compliance status of its findings.
|
SecurityControl |
withSeverityRating(SeverityRating severityRating)
The severity of a security control.
|
SecurityControl |
withSeverityRating(String severityRating)
The severity of a security control.
|
SecurityControl |
withTitle(String title)
The title of a security control.
|
public void setSecurityControlId(String securityControlId)
The unique identifier of a security control across standards. Values for this field typically consist of an Amazon Web Service name and a number, such as APIGateway.3.
securityControlId
- The unique identifier of a security control across standards. Values for this field typically consist of
an Amazon Web Service name and a number, such as APIGateway.3.public String getSecurityControlId()
The unique identifier of a security control across standards. Values for this field typically consist of an Amazon Web Service name and a number, such as APIGateway.3.
public SecurityControl withSecurityControlId(String securityControlId)
The unique identifier of a security control across standards. Values for this field typically consist of an Amazon Web Service name and a number, such as APIGateway.3.
securityControlId
- The unique identifier of a security control across standards. Values for this field typically consist of
an Amazon Web Service name and a number, such as APIGateway.3.public void setSecurityControlArn(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.
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.public String getSecurityControlArn()
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.
arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1
. This parameter doesn't
mention a specific standard.public SecurityControl withSecurityControlArn(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.
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.public void setTitle(String title)
The title of a security control.
title
- The title of a security control.public String getTitle()
The title of a security control.
public SecurityControl withTitle(String title)
The title of a security control.
title
- The title of a security control.public void setDescription(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.
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.public String getDescription()
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.
public SecurityControl withDescription(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.
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.public void setRemediationUrl(String remediationUrl)
A link to Security Hub documentation that explains how to remediate a failed finding for a security control.
remediationUrl
- A link to Security Hub documentation that explains how to remediate a failed finding for a security
control.public String getRemediationUrl()
A link to Security Hub documentation that explains how to remediate a failed finding for a security control.
public SecurityControl withRemediationUrl(String remediationUrl)
A link to Security Hub documentation that explains how to remediate a failed finding for a security control.
remediationUrl
- A link to Security Hub documentation that explains how to remediate a failed finding for a security
control.public void setSeverityRating(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.
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.SeverityRating
public String getSeverityRating()
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.
SeverityRating
public SecurityControl withSeverityRating(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.
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.SeverityRating
public SecurityControl withSeverityRating(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.
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.SeverityRating
public void setSecurityControlStatus(String securityControlStatus)
The status of a security control based on the compliance status of its findings. For more information about how control status is determined, see Determining the overall status of a control from its findings in the Security Hub User Guide.
securityControlStatus
- The status of a security control based on the compliance status of its findings. For more information
about how control status is determined, see Determining
the overall status of a control from its findings in the Security Hub User Guide.ControlStatus
public String getSecurityControlStatus()
The status of a security control based on the compliance status of its findings. For more information about how control status is determined, see Determining the overall status of a control from its findings in the Security Hub User Guide.
ControlStatus
public SecurityControl withSecurityControlStatus(String securityControlStatus)
The status of a security control based on the compliance status of its findings. For more information about how control status is determined, see Determining the overall status of a control from its findings in the Security Hub User Guide.
securityControlStatus
- The status of a security control based on the compliance status of its findings. For more information
about how control status is determined, see Determining
the overall status of a control from its findings in the Security Hub User Guide.ControlStatus
public SecurityControl withSecurityControlStatus(ControlStatus securityControlStatus)
The status of a security control based on the compliance status of its findings. For more information about how control status is determined, see Determining the overall status of a control from its findings in the Security Hub User Guide.
securityControlStatus
- The status of a security control based on the compliance status of its findings. For more information
about how control status is determined, see Determining
the overall status of a control from its findings in the Security Hub User Guide.ControlStatus
public String toString()
toString
in class Object
Object.toString()
public SecurityControl clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.