@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 |
addParameterDefinitionsEntry(String key,
ParameterDefinition value)
Add a single ParameterDefinitions entry
|
SecurityControlDefinition |
clearParameterDefinitionsEntries()
Removes all the entries added into ParameterDefinitions.
|
SecurityControlDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getCurrentRegionAvailability()
Specifies whether a security control is available in the current Amazon Web Services Region.
|
List<String> |
getCustomizableProperties()
Security control properties that you can customize.
|
String |
getDescription()
The description of a security control across standards.
|
Map<String,ParameterDefinition> |
getParameterDefinitions()
An object that provides a security control parameter name, description, and the options for customizing it.
|
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 |
setCustomizableProperties(Collection<String> customizableProperties)
Security control properties that you can customize.
|
void |
setDescription(String description)
The description of a security control across standards.
|
void |
setParameterDefinitions(Map<String,ParameterDefinition> parameterDefinitions)
An object that provides a security control parameter name, description, and the options for customizing it.
|
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 |
withCustomizableProperties(Collection<String> customizableProperties)
Security control properties that you can customize.
|
SecurityControlDefinition |
withCustomizableProperties(SecurityControlProperty... customizableProperties)
Security control properties that you can customize.
|
SecurityControlDefinition |
withCustomizableProperties(String... customizableProperties)
Security control properties that you can customize.
|
SecurityControlDefinition |
withDescription(String description)
The description of a security control across standards.
|
SecurityControlDefinition |
withParameterDefinitions(Map<String,ParameterDefinition> parameterDefinitions)
An object that provides a security control parameter name, description, and the options for customizing it.
|
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 List<String> getCustomizableProperties()
Security control properties that you can customize. Currently, only parameter customization is supported for select controls. An empty array is returned for controls that don’t support custom properties.
SecurityControlProperty
public void setCustomizableProperties(Collection<String> customizableProperties)
Security control properties that you can customize. Currently, only parameter customization is supported for select controls. An empty array is returned for controls that don’t support custom properties.
customizableProperties
- Security control properties that you can customize. Currently, only parameter customization is supported
for select controls. An empty array is returned for controls that don’t support custom properties.SecurityControlProperty
public SecurityControlDefinition withCustomizableProperties(String... customizableProperties)
Security control properties that you can customize. Currently, only parameter customization is supported for select controls. An empty array is returned for controls that don’t support custom properties.
NOTE: This method appends the values to the existing list (if any). Use
setCustomizableProperties(java.util.Collection)
or
withCustomizableProperties(java.util.Collection)
if you want to override the existing values.
customizableProperties
- Security control properties that you can customize. Currently, only parameter customization is supported
for select controls. An empty array is returned for controls that don’t support custom properties.SecurityControlProperty
public SecurityControlDefinition withCustomizableProperties(Collection<String> customizableProperties)
Security control properties that you can customize. Currently, only parameter customization is supported for select controls. An empty array is returned for controls that don’t support custom properties.
customizableProperties
- Security control properties that you can customize. Currently, only parameter customization is supported
for select controls. An empty array is returned for controls that don’t support custom properties.SecurityControlProperty
public SecurityControlDefinition withCustomizableProperties(SecurityControlProperty... customizableProperties)
Security control properties that you can customize. Currently, only parameter customization is supported for select controls. An empty array is returned for controls that don’t support custom properties.
customizableProperties
- Security control properties that you can customize. Currently, only parameter customization is supported
for select controls. An empty array is returned for controls that don’t support custom properties.SecurityControlProperty
public Map<String,ParameterDefinition> getParameterDefinitions()
An object that provides a security control parameter name, description, and the options for customizing it. This object is excluded for a control that doesn't support custom parameters.
public void setParameterDefinitions(Map<String,ParameterDefinition> parameterDefinitions)
An object that provides a security control parameter name, description, and the options for customizing it. This object is excluded for a control that doesn't support custom parameters.
parameterDefinitions
- An object that provides a security control parameter name, description, and the options for customizing
it. This object is excluded for a control that doesn't support custom parameters.public SecurityControlDefinition withParameterDefinitions(Map<String,ParameterDefinition> parameterDefinitions)
An object that provides a security control parameter name, description, and the options for customizing it. This object is excluded for a control that doesn't support custom parameters.
parameterDefinitions
- An object that provides a security control parameter name, description, and the options for customizing
it. This object is excluded for a control that doesn't support custom parameters.public SecurityControlDefinition addParameterDefinitionsEntry(String key, ParameterDefinition value)
public SecurityControlDefinition clearParameterDefinitionsEntries()
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.