@Generated(value="software.amazon.awssdk:codegen") public final class SecurityControlDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SecurityControlDefinition.Builder,SecurityControlDefinition>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SecurityControlDefinition.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SecurityControlDefinition.Builder |
builder() |
RegionAvailabilityStatus |
currentRegionAvailability()
Specifies whether a security control is available in the current Amazon Web Services Region.
|
String |
currentRegionAvailabilityAsString()
Specifies whether a security control is available in the current Amazon Web Services Region.
|
String |
description()
The description of a security control across standards.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
remediationUrl()
A link to Security Hub documentation that explains how to remediate a failed finding for a security control.
|
List<SdkField<?>> |
sdkFields() |
String |
securityControlId()
The unique identifier of a security control across standards.
|
static Class<? extends SecurityControlDefinition.Builder> |
serializableBuilderClass() |
SeverityRating |
severityRating()
The severity of a security control.
|
String |
severityRatingAsString()
The severity of a security control.
|
String |
title()
The title of a security control.
|
SecurityControlDefinition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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).
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 final String title()
The title of a security control.
public final 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.
public final String remediationUrl()
A link to Security Hub documentation that explains how to remediate a failed finding for a security control.
public final 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.
If the service returns an enum value that is not available in the current SDK version, severityRating
will return SeverityRating.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from severityRatingAsString().
SeverityRatingpublic final String severityRatingAsString()
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.
If the service returns an enum value that is not available in the current SDK version, severityRating
will return SeverityRating.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from severityRatingAsString().
SeverityRatingpublic final RegionAvailabilityStatus currentRegionAvailability()
Specifies whether a security control is available in the current Amazon Web Services Region.
If the service returns an enum value that is not available in the current SDK version,
currentRegionAvailability will return RegionAvailabilityStatus.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from currentRegionAvailabilityAsString().
RegionAvailabilityStatuspublic final String currentRegionAvailabilityAsString()
Specifies whether a security control is available in the current Amazon Web Services Region.
If the service returns an enum value that is not available in the current SDK version,
currentRegionAvailability will return RegionAvailabilityStatus.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from currentRegionAvailabilityAsString().
RegionAvailabilityStatuspublic SecurityControlDefinition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SecurityControlDefinition.Builder,SecurityControlDefinition>public static SecurityControlDefinition.Builder builder()
public static Class<? extends SecurityControlDefinition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.