@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConformancePackRuleCompliance extends Object implements Serializable, Cloneable, StructuredPojo
Compliance information of one or more Config rules within a conformance pack. You can filter using Config rule names and compliance types.
Constructor and Description |
---|
ConformancePackRuleCompliance() |
Modifier and Type | Method and Description |
---|---|
ConformancePackRuleCompliance |
clone() |
boolean |
equals(Object obj) |
String |
getComplianceType()
Compliance of the Config rule.
|
String |
getConfigRuleName()
Name of the Config rule.
|
List<String> |
getControls()
Controls for the conformance pack.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComplianceType(String complianceType)
Compliance of the Config rule.
|
void |
setConfigRuleName(String configRuleName)
Name of the Config rule.
|
void |
setControls(Collection<String> controls)
Controls for the conformance pack.
|
String |
toString()
Returns a string representation of this object.
|
ConformancePackRuleCompliance |
withComplianceType(ConformancePackComplianceType complianceType)
Compliance of the Config rule.
|
ConformancePackRuleCompliance |
withComplianceType(String complianceType)
Compliance of the Config rule.
|
ConformancePackRuleCompliance |
withConfigRuleName(String configRuleName)
Name of the Config rule.
|
ConformancePackRuleCompliance |
withControls(Collection<String> controls)
Controls for the conformance pack.
|
ConformancePackRuleCompliance |
withControls(String... controls)
Controls for the conformance pack.
|
public void setConfigRuleName(String configRuleName)
Name of the Config rule.
configRuleName
- Name of the Config rule.public String getConfigRuleName()
Name of the Config rule.
public ConformancePackRuleCompliance withConfigRuleName(String configRuleName)
Name of the Config rule.
configRuleName
- Name of the Config rule.public void setComplianceType(String complianceType)
Compliance of the Config rule.
complianceType
- Compliance of the Config rule.ConformancePackComplianceType
public String getComplianceType()
Compliance of the Config rule.
ConformancePackComplianceType
public ConformancePackRuleCompliance withComplianceType(String complianceType)
Compliance of the Config rule.
complianceType
- Compliance of the Config rule.ConformancePackComplianceType
public ConformancePackRuleCompliance withComplianceType(ConformancePackComplianceType complianceType)
Compliance of the Config rule.
complianceType
- Compliance of the Config rule.ConformancePackComplianceType
public List<String> getControls()
Controls for the conformance pack. A control is a process to prevent or detect problems while meeting objectives. A control can align with a specific compliance regime or map to internal controls defined by an organization.
public void setControls(Collection<String> controls)
Controls for the conformance pack. A control is a process to prevent or detect problems while meeting objectives. A control can align with a specific compliance regime or map to internal controls defined by an organization.
controls
- Controls for the conformance pack. A control is a process to prevent or detect problems while meeting
objectives. A control can align with a specific compliance regime or map to internal controls defined by
an organization.public ConformancePackRuleCompliance withControls(String... controls)
Controls for the conformance pack. A control is a process to prevent or detect problems while meeting objectives. A control can align with a specific compliance regime or map to internal controls defined by an organization.
NOTE: This method appends the values to the existing list (if any). Use
setControls(java.util.Collection)
or withControls(java.util.Collection)
if you want to override
the existing values.
controls
- Controls for the conformance pack. A control is a process to prevent or detect problems while meeting
objectives. A control can align with a specific compliance regime or map to internal controls defined by
an organization.public ConformancePackRuleCompliance withControls(Collection<String> controls)
Controls for the conformance pack. A control is a process to prevent or detect problems while meeting objectives. A control can align with a specific compliance regime or map to internal controls defined by an organization.
controls
- Controls for the conformance pack. A control is a process to prevent or detect problems while meeting
objectives. A control can align with a specific compliance regime or map to internal controls defined by
an organization.public String toString()
toString
in class Object
Object.toString()
public ConformancePackRuleCompliance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.