@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 noncompliant if it includes resources that are not protected by the policy, for WAF and Shield Advanced policies, or that are noncompliant with the policy, for security group policies.
Constructor and Description |
---|
PolicyComplianceStatus() |
Modifier and Type | Method and Description |
---|---|
PolicyComplianceStatus |
addIssueInfoMapEntry(String key,
String value)
Add a single IssueInfoMap entry
|
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 WAF or Config, and the error message received that
indicates the problem with the service.
|
Date |
getLastUpdated()
Timestamp of the last update to the
EvaluationResult objects. |
String |
getMemberAccount()
The member account ID.
|
String |
getPolicyId()
The ID of the Firewall Manager policy.
|
String |
getPolicyName()
The name of the Firewall Manager policy.
|
String |
getPolicyOwner()
The Amazon Web Services account that created the Firewall Manager policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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 WAF or Config, and the error message received that
indicates the problem with the service.
|
void |
setLastUpdated(Date lastUpdated)
Timestamp of the last update to the
EvaluationResult objects. |
void |
setMemberAccount(String memberAccount)
The member account ID.
|
void |
setPolicyId(String policyId)
The ID of the Firewall Manager policy.
|
void |
setPolicyName(String policyName)
The name of the Firewall Manager policy.
|
void |
setPolicyOwner(String policyOwner)
The Amazon Web Services account that created the 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 WAF or Config, and the error message received that
indicates the problem with the service.
|
PolicyComplianceStatus |
withLastUpdated(Date lastUpdated)
Timestamp of the last update to the
EvaluationResult objects. |
PolicyComplianceStatus |
withMemberAccount(String memberAccount)
The member account ID.
|
PolicyComplianceStatus |
withPolicyId(String policyId)
The ID of the Firewall Manager policy.
|
PolicyComplianceStatus |
withPolicyName(String policyName)
The name of the Firewall Manager policy.
|
PolicyComplianceStatus |
withPolicyOwner(String policyOwner)
The Amazon Web Services account that created the Firewall Manager 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 PolicyComplianceStatus 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 PolicyComplianceStatus withPolicyId(String policyId)
The ID of the Firewall Manager policy.
policyId
- The ID of the Firewall Manager policy.public void setPolicyName(String policyName)
The name of the Firewall Manager policy.
policyName
- The name of the Firewall Manager policy.public String getPolicyName()
The name of the Firewall Manager policy.
public PolicyComplianceStatus withPolicyName(String policyName)
The name of the Firewall Manager policy.
policyName
- The name of the 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)
Timestamp of the last update to the EvaluationResult
objects.
lastUpdated
- Timestamp of the last update to the EvaluationResult
objects.public Date getLastUpdated()
Timestamp of the last update to the EvaluationResult
objects.
EvaluationResult
objects.public PolicyComplianceStatus withLastUpdated(Date lastUpdated)
Timestamp of the last update to the EvaluationResult
objects.
lastUpdated
- Timestamp of the last update to the EvaluationResult
objects.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 PolicyComplianceStatus 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 PolicyComplianceStatus addIssueInfoMapEntry(String key, String value)
public PolicyComplianceStatus clearIssueInfoMapEntries()
public String toString()
toString
in class Object
Object.toString()
public PolicyComplianceStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.