@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyComplianceDetail extends Object implements Serializable, Cloneable, StructuredPojo
Describes the non-compliant resources in a member account for a specific AWS Firewall Manager policy. A maximum of
100 entries are displayed. If more than 100 resources are non-compliant, EvaluationLimitExceeded is set
to True.
| Constructor and Description |
|---|
PolicyComplianceDetail() |
| Modifier and Type | Method and Description |
|---|---|
PolicyComplianceDetail |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEvaluationLimitExceeded()
Indicates if over 100 resources are non-compliant with the AWS Firewall Manager policy.
|
Date |
getExpiredAt()
A time stamp that indicates when the returned information should be considered out-of-date.
|
String |
getMemberAccount()
The AWS account ID.
|
String |
getPolicyId()
The ID of the AWS Firewall Manager policy.
|
String |
getPolicyOwner()
The AWS account that created the AWS Firewall Manager policy.
|
List<ComplianceViolator> |
getViolators()
An array of resources that are not protected by the policy.
|
int |
hashCode() |
Boolean |
isEvaluationLimitExceeded()
Indicates if over 100 resources are non-compliant with the AWS Firewall Manager policy.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEvaluationLimitExceeded(Boolean evaluationLimitExceeded)
Indicates if over 100 resources are non-compliant with the AWS Firewall Manager policy.
|
void |
setExpiredAt(Date expiredAt)
A time stamp that indicates when the returned information should be considered out-of-date.
|
void |
setMemberAccount(String memberAccount)
The AWS account ID.
|
void |
setPolicyId(String policyId)
The ID of the AWS Firewall Manager policy.
|
void |
setPolicyOwner(String policyOwner)
The AWS account that created the AWS Firewall Manager policy.
|
void |
setViolators(Collection<ComplianceViolator> violators)
An array of resources that are not protected by the policy.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PolicyComplianceDetail |
withEvaluationLimitExceeded(Boolean evaluationLimitExceeded)
Indicates if over 100 resources are non-compliant with the AWS Firewall Manager policy.
|
PolicyComplianceDetail |
withExpiredAt(Date expiredAt)
A time stamp that indicates when the returned information should be considered out-of-date.
|
PolicyComplianceDetail |
withMemberAccount(String memberAccount)
The AWS account ID.
|
PolicyComplianceDetail |
withPolicyId(String policyId)
The ID of the AWS Firewall Manager policy.
|
PolicyComplianceDetail |
withPolicyOwner(String policyOwner)
The AWS account that created the AWS Firewall Manager policy.
|
PolicyComplianceDetail |
withViolators(Collection<ComplianceViolator> violators)
An array of resources that are not protected by the policy.
|
PolicyComplianceDetail |
withViolators(ComplianceViolator... violators)
An array of resources that are not protected by the policy.
|
public void setPolicyOwner(String policyOwner)
The AWS account that created the AWS Firewall Manager policy.
policyOwner - The AWS account that created the AWS Firewall Manager policy.public String getPolicyOwner()
The AWS account that created the AWS Firewall Manager policy.
public PolicyComplianceDetail withPolicyOwner(String policyOwner)
The AWS account that created the AWS Firewall Manager policy.
policyOwner - The AWS account that created the AWS Firewall Manager policy.public void setPolicyId(String policyId)
The ID of the AWS Firewall Manager policy.
policyId - The ID of the AWS Firewall Manager policy.public String getPolicyId()
The ID of the AWS Firewall Manager policy.
public PolicyComplianceDetail withPolicyId(String policyId)
The ID of the AWS Firewall Manager policy.
policyId - The ID of the AWS Firewall Manager policy.public void setMemberAccount(String memberAccount)
The AWS account ID.
memberAccount - The AWS account ID.public String getMemberAccount()
The AWS account ID.
public PolicyComplianceDetail withMemberAccount(String memberAccount)
The AWS account ID.
memberAccount - The AWS account ID.public List<ComplianceViolator> getViolators()
An array of resources that are not protected by the policy.
public void setViolators(Collection<ComplianceViolator> violators)
An array of resources that are not protected by the policy.
violators - An array of resources that are not protected by the policy.public PolicyComplianceDetail withViolators(ComplianceViolator... violators)
An array of resources that are not protected by the 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 are not protected by the policy.public PolicyComplianceDetail withViolators(Collection<ComplianceViolator> violators)
An array of resources that are not protected by the policy.
violators - An array of resources that are not protected by the policy.public void setEvaluationLimitExceeded(Boolean evaluationLimitExceeded)
Indicates if over 100 resources are non-compliant with the AWS Firewall Manager policy.
evaluationLimitExceeded - Indicates if over 100 resources are non-compliant with the AWS Firewall Manager policy.public Boolean getEvaluationLimitExceeded()
Indicates if over 100 resources are non-compliant with the AWS Firewall Manager policy.
public PolicyComplianceDetail withEvaluationLimitExceeded(Boolean evaluationLimitExceeded)
Indicates if over 100 resources are non-compliant with the AWS Firewall Manager policy.
evaluationLimitExceeded - Indicates if over 100 resources are non-compliant with the AWS Firewall Manager policy.public Boolean isEvaluationLimitExceeded()
Indicates if over 100 resources are non-compliant with the AWS Firewall Manager policy.
public void setExpiredAt(Date expiredAt)
A time stamp that indicates when the returned information should be considered out-of-date.
expiredAt - A time stamp that indicates when the returned information should be considered out-of-date.public Date getExpiredAt()
A time stamp that indicates when the returned information should be considered out-of-date.
public PolicyComplianceDetail withExpiredAt(Date expiredAt)
A time stamp that indicates when the returned information should be considered out-of-date.
expiredAt - A time stamp that indicates when the returned information should be considered out-of-date.public String toString()
toString in class ObjectObject.toString()public PolicyComplianceDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.