@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SecurityControlsConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
An object that defines which security controls are enabled in an Security Hub configuration policy. The enablement status of a control is aligned across all of the enabled standards in an account.
Constructor and Description |
---|
SecurityControlsConfiguration() |
Modifier and Type | Method and Description |
---|---|
SecurityControlsConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDisabledSecurityControlIdentifiers()
A list of security controls that are disabled in the configuration policy.
|
List<String> |
getEnabledSecurityControlIdentifiers()
A list of security controls that are enabled in the configuration policy.
|
List<SecurityControlCustomParameter> |
getSecurityControlCustomParameters()
A list of security controls and control parameter values that are included in a configuration policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDisabledSecurityControlIdentifiers(Collection<String> disabledSecurityControlIdentifiers)
A list of security controls that are disabled in the configuration policy.
|
void |
setEnabledSecurityControlIdentifiers(Collection<String> enabledSecurityControlIdentifiers)
A list of security controls that are enabled in the configuration policy.
|
void |
setSecurityControlCustomParameters(Collection<SecurityControlCustomParameter> securityControlCustomParameters)
A list of security controls and control parameter values that are included in a configuration policy.
|
String |
toString()
Returns a string representation of this object.
|
SecurityControlsConfiguration |
withDisabledSecurityControlIdentifiers(Collection<String> disabledSecurityControlIdentifiers)
A list of security controls that are disabled in the configuration policy.
|
SecurityControlsConfiguration |
withDisabledSecurityControlIdentifiers(String... disabledSecurityControlIdentifiers)
A list of security controls that are disabled in the configuration policy.
|
SecurityControlsConfiguration |
withEnabledSecurityControlIdentifiers(Collection<String> enabledSecurityControlIdentifiers)
A list of security controls that are enabled in the configuration policy.
|
SecurityControlsConfiguration |
withEnabledSecurityControlIdentifiers(String... enabledSecurityControlIdentifiers)
A list of security controls that are enabled in the configuration policy.
|
SecurityControlsConfiguration |
withSecurityControlCustomParameters(Collection<SecurityControlCustomParameter> securityControlCustomParameters)
A list of security controls and control parameter values that are included in a configuration policy.
|
SecurityControlsConfiguration |
withSecurityControlCustomParameters(SecurityControlCustomParameter... securityControlCustomParameters)
A list of security controls and control parameter values that are included in a configuration policy.
|
public List<String> getEnabledSecurityControlIdentifiers()
A list of security controls that are enabled in the configuration policy. Security Hub disables all other controls (including newly released controls) other than the listed controls.
public void setEnabledSecurityControlIdentifiers(Collection<String> enabledSecurityControlIdentifiers)
A list of security controls that are enabled in the configuration policy. Security Hub disables all other controls (including newly released controls) other than the listed controls.
enabledSecurityControlIdentifiers
- A list of security controls that are enabled in the configuration policy. Security Hub disables all other
controls (including newly released controls) other than the listed controls.public SecurityControlsConfiguration withEnabledSecurityControlIdentifiers(String... enabledSecurityControlIdentifiers)
A list of security controls that are enabled in the configuration policy. Security Hub disables all other controls (including newly released controls) other than the listed controls.
NOTE: This method appends the values to the existing list (if any). Use
setEnabledSecurityControlIdentifiers(java.util.Collection)
or
withEnabledSecurityControlIdentifiers(java.util.Collection)
if you want to override the existing values.
enabledSecurityControlIdentifiers
- A list of security controls that are enabled in the configuration policy. Security Hub disables all other
controls (including newly released controls) other than the listed controls.public SecurityControlsConfiguration withEnabledSecurityControlIdentifiers(Collection<String> enabledSecurityControlIdentifiers)
A list of security controls that are enabled in the configuration policy. Security Hub disables all other controls (including newly released controls) other than the listed controls.
enabledSecurityControlIdentifiers
- A list of security controls that are enabled in the configuration policy. Security Hub disables all other
controls (including newly released controls) other than the listed controls.public List<String> getDisabledSecurityControlIdentifiers()
A list of security controls that are disabled in the configuration policy. Security Hub enables all other controls (including newly released controls) other than the listed controls.
public void setDisabledSecurityControlIdentifiers(Collection<String> disabledSecurityControlIdentifiers)
A list of security controls that are disabled in the configuration policy. Security Hub enables all other controls (including newly released controls) other than the listed controls.
disabledSecurityControlIdentifiers
- A list of security controls that are disabled in the configuration policy. Security Hub enables all other
controls (including newly released controls) other than the listed controls.public SecurityControlsConfiguration withDisabledSecurityControlIdentifiers(String... disabledSecurityControlIdentifiers)
A list of security controls that are disabled in the configuration policy. Security Hub enables all other controls (including newly released controls) other than the listed controls.
NOTE: This method appends the values to the existing list (if any). Use
setDisabledSecurityControlIdentifiers(java.util.Collection)
or
withDisabledSecurityControlIdentifiers(java.util.Collection)
if you want to override the existing
values.
disabledSecurityControlIdentifiers
- A list of security controls that are disabled in the configuration policy. Security Hub enables all other
controls (including newly released controls) other than the listed controls.public SecurityControlsConfiguration withDisabledSecurityControlIdentifiers(Collection<String> disabledSecurityControlIdentifiers)
A list of security controls that are disabled in the configuration policy. Security Hub enables all other controls (including newly released controls) other than the listed controls.
disabledSecurityControlIdentifiers
- A list of security controls that are disabled in the configuration policy. Security Hub enables all other
controls (including newly released controls) other than the listed controls.public List<SecurityControlCustomParameter> getSecurityControlCustomParameters()
A list of security controls and control parameter values that are included in a configuration policy.
public void setSecurityControlCustomParameters(Collection<SecurityControlCustomParameter> securityControlCustomParameters)
A list of security controls and control parameter values that are included in a configuration policy.
securityControlCustomParameters
- A list of security controls and control parameter values that are included in a configuration policy.public SecurityControlsConfiguration withSecurityControlCustomParameters(SecurityControlCustomParameter... securityControlCustomParameters)
A list of security controls and control parameter values that are included in a configuration policy.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityControlCustomParameters(java.util.Collection)
or
withSecurityControlCustomParameters(java.util.Collection)
if you want to override the existing values.
securityControlCustomParameters
- A list of security controls and control parameter values that are included in a configuration policy.public SecurityControlsConfiguration withSecurityControlCustomParameters(Collection<SecurityControlCustomParameter> securityControlCustomParameters)
A list of security controls and control parameter values that are included in a configuration policy.
securityControlCustomParameters
- A list of security controls and control parameter values that are included in a configuration policy.public String toString()
toString
in class Object
Object.toString()
public SecurityControlsConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.