@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyComplianceStatus extends Object implements Serializable, Cloneable, StructuredPojo
Indicates whether the account is compliant with the specified policy. An account is considered non-compliant if it includes resources that are not protected by the policy.
| Constructor and Description |
|---|
PolicyComplianceStatus() |
| Modifier and Type | Method and Description |
|---|---|
PolicyComplianceStatus |
addIssueInfoMapEntry(String key,
String value) |
PolicyComplianceStatus |
clearIssueInfoMapEntries()
Removes all the entries added into IssueInfoMap.
|
PolicyComplianceStatus |
clone() |
boolean |
equals(Object obj) |
List<EvaluationResult> |
getEvaluationResults()
An array of
EvaluationResult objects. |
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.
|
Date |
getLastUpdated()
Time stamp of the last update to the
EvaluationResult objects. |
String |
getMemberAccount()
The member account ID.
|
String |
getPolicyId()
The ID of the AWS Firewall Manager policy.
|
String |
getPolicyName()
The friendly name of the AWS Firewall Manager policy.
|
String |
getPolicyOwner()
The AWS account that created the AWS Firewall Manager policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEvaluationResults(Collection<EvaluationResult> evaluationResults)
An array of
EvaluationResult objects. |
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 |
setLastUpdated(Date lastUpdated)
Time stamp of the last update to the
EvaluationResult objects. |
void |
setMemberAccount(String memberAccount)
The member account ID.
|
void |
setPolicyId(String policyId)
The ID of the AWS Firewall Manager policy.
|
void |
setPolicyName(String policyName)
The friendly name of the AWS Firewall Manager policy.
|
void |
setPolicyOwner(String policyOwner)
The AWS account that created the AWS Firewall Manager policy.
|
String |
toString()
Returns a string representation of this object.
|
PolicyComplianceStatus |
withEvaluationResults(Collection<EvaluationResult> evaluationResults)
An array of
EvaluationResult objects. |
PolicyComplianceStatus |
withEvaluationResults(EvaluationResult... evaluationResults)
An array of
EvaluationResult objects. |
PolicyComplianceStatus |
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.
|
PolicyComplianceStatus |
withLastUpdated(Date lastUpdated)
Time stamp of the last update to the
EvaluationResult objects. |
PolicyComplianceStatus |
withMemberAccount(String memberAccount)
The member account ID.
|
PolicyComplianceStatus |
withPolicyId(String policyId)
The ID of the AWS Firewall Manager policy.
|
PolicyComplianceStatus |
withPolicyName(String policyName)
The friendly name of the AWS Firewall Manager policy.
|
PolicyComplianceStatus |
withPolicyOwner(String policyOwner)
The AWS account that created the AWS Firewall Manager 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 PolicyComplianceStatus 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 PolicyComplianceStatus withPolicyId(String policyId)
The ID of the AWS Firewall Manager policy.
policyId - The ID of the AWS Firewall Manager policy.public void setPolicyName(String policyName)
The friendly name of the AWS Firewall Manager policy.
policyName - The friendly name of the AWS Firewall Manager policy.public String getPolicyName()
The friendly name of the AWS Firewall Manager policy.
public PolicyComplianceStatus withPolicyName(String policyName)
The friendly name of the AWS Firewall Manager policy.
policyName - The friendly name of the AWS Firewall Manager policy.public void setMemberAccount(String memberAccount)
The member account ID.
memberAccount - The member account ID.public String getMemberAccount()
The member account ID.
public PolicyComplianceStatus withMemberAccount(String memberAccount)
The member account ID.
memberAccount - The member account ID.public List<EvaluationResult> getEvaluationResults()
An array of EvaluationResult objects.
EvaluationResult objects.public void setEvaluationResults(Collection<EvaluationResult> evaluationResults)
An array of EvaluationResult objects.
evaluationResults - An array of EvaluationResult objects.public PolicyComplianceStatus withEvaluationResults(EvaluationResult... evaluationResults)
An array of EvaluationResult objects.
NOTE: This method appends the values to the existing list (if any). Use
setEvaluationResults(java.util.Collection) or withEvaluationResults(java.util.Collection) if
you want to override the existing values.
evaluationResults - An array of EvaluationResult objects.public PolicyComplianceStatus withEvaluationResults(Collection<EvaluationResult> evaluationResults)
An array of EvaluationResult objects.
evaluationResults - An array of EvaluationResult objects.public void setLastUpdated(Date lastUpdated)
Time stamp of the last update to the EvaluationResult objects.
lastUpdated - Time stamp of the last update to the EvaluationResult objects.public Date getLastUpdated()
Time stamp of the last update to the EvaluationResult objects.
EvaluationResult objects.public PolicyComplianceStatus withLastUpdated(Date lastUpdated)
Time stamp of the last update to the EvaluationResult objects.
lastUpdated - Time stamp of the last update to the EvaluationResult objects.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 received that indicates 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 received that indicates 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 received
that indicates the problem with the service.public PolicyComplianceStatus 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 received that indicates 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 received
that indicates the problem with the service.public PolicyComplianceStatus addIssueInfoMapEntry(String key, String value)
public PolicyComplianceStatus clearIssueInfoMapEntries()
public String toString()
toString in class ObjectObject.toString()public PolicyComplianceStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.