@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 |
addIssueInfoMapEntry(String key,
String value) |
PolicyComplianceDetail |
clearIssueInfoMapEntries()
Removes all the entries added into IssueInfoMap.
|
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.
|
Map<String,String> |
getIssueInfoMap()
Details about problems with dependent services, such as AWS WAF or AWS Config, that are causing a resource to be
non-compliant.
|
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)
Marshalls this structured data using the given
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 |
setIssueInfoMap(Map<String,String> issueInfoMap)
Details about problems with dependent services, such as AWS WAF or AWS Config, that are causing a resource to be
non-compliant.
|
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 |
withIssueInfoMap(Map<String,String> issueInfoMap)
Details about problems with dependent services, such as AWS WAF or AWS Config, that are causing a resource to be
non-compliant.
|
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 Map<String,String> getIssueInfoMap()
Details about problems with dependent services, such as AWS WAF or AWS Config, that are causing a resource to be non-compliant. The details include the name of the dependent service and the error message recieved indicating the problem with the service.
public void setIssueInfoMap(Map<String,String> issueInfoMap)
Details about problems with dependent services, such as AWS WAF or AWS Config, that are causing a resource to be non-compliant. The details include the name of the dependent service and the error message recieved indicating the problem with the service.
issueInfoMap
- Details about problems with dependent services, such as AWS WAF or AWS Config, that are causing a resource
to be non-compliant. The details include the name of the dependent service and the error message recieved
indicating the problem with the service.public PolicyComplianceDetail withIssueInfoMap(Map<String,String> issueInfoMap)
Details about problems with dependent services, such as AWS WAF or AWS Config, that are causing a resource to be non-compliant. The details include the name of the dependent service and the error message recieved indicating the problem with the service.
issueInfoMap
- Details about problems with dependent services, such as AWS WAF or AWS Config, that are causing a resource
to be non-compliant. The details include the name of the dependent service and the error message recieved
indicating 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.