@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SecurityControlDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Provides metadata for a security control, including its unique standard-agnostic identifier, title, description, severity, availability in Amazon Web Services Regions, and a link to remediation steps.
Constructor and Description |
---|
SecurityControlDefinition() |
Modifier and Type | Method and Description |
---|---|
SecurityControlDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getCurrentRegionAvailability()
Specifies whether a security control is available in the current Amazon Web Services Region.
|
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 |
getSecurityControlId()
The unique identifier of a security control across standards.
|
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 |
setCurrentRegionAvailability(String currentRegionAvailability)
Specifies whether a security control is available in the current Amazon Web Services Region.
|
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 |
setSecurityControlId(String securityControlId)
The unique identifier of a security control across standards.
|
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.
|
SecurityControlDefinition |
withCurrentRegionAvailability(RegionAvailabilityStatus currentRegionAvailability)
Specifies whether a security control is available in the current Amazon Web Services Region.
|
SecurityControlDefinition |
withCurrentRegionAvailability(String currentRegionAvailability)
Specifies whether a security control is available in the current Amazon Web Services Region.
|
SecurityControlDefinition |
withDescription(String description)
The description of a security control across standards.
|
SecurityControlDefinition |
withRemediationUrl(String remediationUrl)
A link to Security Hub documentation that explains how to remediate a failed finding for a security control.
|
SecurityControlDefinition |
withSecurityControlId(String securityControlId)
The unique identifier of a security control across standards.
|
SecurityControlDefinition |
withSeverityRating(SeverityRating severityRating)
The severity of a security control.
|
SecurityControlDefinition |
withSeverityRating(String severityRating)
The severity of a security control.
|
SecurityControlDefinition |
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 (for example, APIGateway.3). This parameter differs from
SecurityControlArn
, which is a unique Amazon Resource Name (ARN) assigned to a control. The ARN
references the security control ID (for example,
arn:aws:securityhub:eu-central-1:123456789012:security-control/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 (for example, APIGateway.3). This parameter differs from
SecurityControlArn
, which is a unique Amazon Resource Name (ARN) assigned to a control. The
ARN references the security control ID (for example,
arn:aws:securityhub:eu-central-1:123456789012:security-control/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 (for example, APIGateway.3). This parameter differs from
SecurityControlArn
, which is a unique Amazon Resource Name (ARN) assigned to a control. The ARN
references the security control ID (for example,
arn:aws:securityhub:eu-central-1:123456789012:security-control/APIGateway.3).
SecurityControlArn
, which is a unique Amazon Resource Name (ARN) assigned to a control. The
ARN references the security control ID (for example,
arn:aws:securityhub:eu-central-1:123456789012:security-control/APIGateway.3).public SecurityControlDefinition 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 (for example, APIGateway.3). This parameter differs from
SecurityControlArn
, which is a unique Amazon Resource Name (ARN) assigned to a control. The ARN
references the security control ID (for example,
arn:aws:securityhub:eu-central-1:123456789012:security-control/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 (for example, APIGateway.3). This parameter differs from
SecurityControlArn
, which is a unique Amazon Resource Name (ARN) assigned to a control. The
ARN references the security control ID (for example,
arn:aws:securityhub:eu-central-1:123456789012:security-control/APIGateway.3).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 SecurityControlDefinition 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 SecurityControlDefinition 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 SecurityControlDefinition 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 SecurityControlDefinition 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 SecurityControlDefinition 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 setCurrentRegionAvailability(String currentRegionAvailability)
Specifies whether a security control is available in the current Amazon Web Services Region.
currentRegionAvailability
- Specifies whether a security control is available in the current Amazon Web Services Region.RegionAvailabilityStatus
public String getCurrentRegionAvailability()
Specifies whether a security control is available in the current Amazon Web Services Region.
RegionAvailabilityStatus
public SecurityControlDefinition withCurrentRegionAvailability(String currentRegionAvailability)
Specifies whether a security control is available in the current Amazon Web Services Region.
currentRegionAvailability
- Specifies whether a security control is available in the current Amazon Web Services Region.RegionAvailabilityStatus
public SecurityControlDefinition withCurrentRegionAvailability(RegionAvailabilityStatus currentRegionAvailability)
Specifies whether a security control is available in the current Amazon Web Services Region.
currentRegionAvailability
- Specifies whether a security control is available in the current Amazon Web Services Region.RegionAvailabilityStatus
public String toString()
toString
in class Object
Object.toString()
public SecurityControlDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.