@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyComplianceDetail extends Object implements Serializable, Cloneable, StructuredPojo
Describes the noncompliant resources in a member account for a specific Firewall Manager policy. A maximum of 100
entries are displayed. If more than 100 resources are noncompliant, EvaluationLimitExceeded
is set to
True
.
Constructor and Description |
---|
PolicyComplianceDetail() |
Modifier and Type | Method and Description |
---|---|
PolicyComplianceDetail |
addIssueInfoMapEntry(String key,
String value)
Add a single IssueInfoMap entry
|
PolicyComplianceDetail |
clearIssueInfoMapEntries()
Removes all the entries added into IssueInfoMap.
|
PolicyComplianceDetail |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEvaluationLimitExceeded()
Indicates if over 100 resources are noncompliant with the Firewall Manager policy.
|
Date |
getExpiredAt()
A timestamp that indicates when the returned information should be considered out of date.
|
Map<String,String> |
getIssueInfoMap()
Details about problems with dependent services, such as WAF or Config, and the error message received that
indicates the problem with the service.
|
String |
getMemberAccount()
The Amazon Web Services account ID.
|
String |
getPolicyId()
The ID of the Firewall Manager policy.
|
String |
getPolicyOwner()
The Amazon Web Services account that created the Firewall Manager policy.
|
List<ComplianceViolator> |
getViolators()
An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance
with the security group policy.
|
int |
hashCode() |
Boolean |
isEvaluationLimitExceeded()
Indicates if over 100 resources are noncompliant with the Firewall Manager policy.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEvaluationLimitExceeded(Boolean evaluationLimitExceeded)
Indicates if over 100 resources are noncompliant with the Firewall Manager policy.
|
void |
setExpiredAt(Date expiredAt)
A timestamp that indicates when the returned information should be considered out of date.
|
void |
setIssueInfoMap(Map<String,String> issueInfoMap)
Details about problems with dependent services, such as WAF or Config, and the error message received that
indicates the problem with the service.
|
void |
setMemberAccount(String memberAccount)
The Amazon Web Services account ID.
|
void |
setPolicyId(String policyId)
The ID of the Firewall Manager policy.
|
void |
setPolicyOwner(String policyOwner)
The Amazon Web Services account that created the Firewall Manager policy.
|
void |
setViolators(Collection<ComplianceViolator> violators)
An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance
with the security group policy.
|
String |
toString()
Returns a string representation of this object.
|
PolicyComplianceDetail |
withEvaluationLimitExceeded(Boolean evaluationLimitExceeded)
Indicates if over 100 resources are noncompliant with the Firewall Manager policy.
|
PolicyComplianceDetail |
withExpiredAt(Date expiredAt)
A timestamp that indicates when the returned information should be considered out of date.
|
PolicyComplianceDetail |
withIssueInfoMap(Map<String,String> issueInfoMap)
Details about problems with dependent services, such as WAF or Config, and the error message received that
indicates the problem with the service.
|
PolicyComplianceDetail |
withMemberAccount(String memberAccount)
The Amazon Web Services account ID.
|
PolicyComplianceDetail |
withPolicyId(String policyId)
The ID of the Firewall Manager policy.
|
PolicyComplianceDetail |
withPolicyOwner(String policyOwner)
The Amazon Web Services account that created the Firewall Manager policy.
|
PolicyComplianceDetail |
withViolators(Collection<ComplianceViolator> violators)
An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance
with the security group policy.
|
PolicyComplianceDetail |
withViolators(ComplianceViolator... violators)
An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance
with the security group policy.
|
public void setPolicyOwner(String policyOwner)
The Amazon Web Services account that created the Firewall Manager policy.
policyOwner
- The Amazon Web Services account that created the Firewall Manager policy.public String getPolicyOwner()
The Amazon Web Services account that created the Firewall Manager policy.
public PolicyComplianceDetail withPolicyOwner(String policyOwner)
The Amazon Web Services account that created the Firewall Manager policy.
policyOwner
- The Amazon Web Services account that created the Firewall Manager policy.public void setPolicyId(String policyId)
The ID of the Firewall Manager policy.
policyId
- The ID of the Firewall Manager policy.public String getPolicyId()
The ID of the Firewall Manager policy.
public PolicyComplianceDetail withPolicyId(String policyId)
The ID of the Firewall Manager policy.
policyId
- The ID of the Firewall Manager policy.public void setMemberAccount(String memberAccount)
The Amazon Web Services account ID.
memberAccount
- The Amazon Web Services account ID.public String getMemberAccount()
The Amazon Web Services account ID.
public PolicyComplianceDetail withMemberAccount(String memberAccount)
The Amazon Web Services account ID.
memberAccount
- The Amazon Web Services account ID.public List<ComplianceViolator> getViolators()
An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance with the security group policy.
public void setViolators(Collection<ComplianceViolator> violators)
An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance with the security group policy.
violators
- An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in
compliance with the security group policy.public PolicyComplianceDetail withViolators(ComplianceViolator... violators)
An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance with the security group policy.
NOTE: This method appends the values to the existing list (if any). Use
setViolators(java.util.Collection)
or withViolators(java.util.Collection)
if you want to
override the existing values.
violators
- An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in
compliance with the security group policy.public PolicyComplianceDetail withViolators(Collection<ComplianceViolator> violators)
An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance with the security group policy.
violators
- An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in
compliance with the security group policy.public void setEvaluationLimitExceeded(Boolean evaluationLimitExceeded)
Indicates if over 100 resources are noncompliant with the Firewall Manager policy.
evaluationLimitExceeded
- Indicates if over 100 resources are noncompliant with the Firewall Manager policy.public Boolean getEvaluationLimitExceeded()
Indicates if over 100 resources are noncompliant with the Firewall Manager policy.
public PolicyComplianceDetail withEvaluationLimitExceeded(Boolean evaluationLimitExceeded)
Indicates if over 100 resources are noncompliant with the Firewall Manager policy.
evaluationLimitExceeded
- Indicates if over 100 resources are noncompliant with the Firewall Manager policy.public Boolean isEvaluationLimitExceeded()
Indicates if over 100 resources are noncompliant with the Firewall Manager policy.
public void setExpiredAt(Date expiredAt)
A timestamp that indicates when the returned information should be considered out of date.
expiredAt
- A timestamp that indicates when the returned information should be considered out of date.public Date getExpiredAt()
A timestamp that indicates when the returned information should be considered out of date.
public PolicyComplianceDetail withExpiredAt(Date expiredAt)
A timestamp that indicates when the returned information should be considered out of date.
expiredAt
- A timestamp that indicates when the returned information should be considered out of date.public Map<String,String> getIssueInfoMap()
Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.
public void setIssueInfoMap(Map<String,String> issueInfoMap)
Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.
issueInfoMap
- Details about problems with dependent services, such as WAF or Config, and the error message received that
indicates the problem with the service.public PolicyComplianceDetail withIssueInfoMap(Map<String,String> issueInfoMap)
Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.
issueInfoMap
- Details about problems with dependent services, such as WAF or Config, and the error message received that
indicates the problem with the service.public PolicyComplianceDetail addIssueInfoMapEntry(String key, String value)
public PolicyComplianceDetail clearIssueInfoMapEntries()
public String toString()
toString
in class Object
Object.toString()
public PolicyComplianceDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.