@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 |
clone() |
boolean |
equals(Object obj) |
List<EvaluationResult> |
getEvaluationResults()
An array of
EvaluationResult objects. |
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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEvaluationResults(Collection<EvaluationResult> evaluationResults)
An array of
EvaluationResult objects. |
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; useful for testing and debugging.
|
PolicyComplianceStatus |
withEvaluationResults(Collection<EvaluationResult> evaluationResults)
An array of
EvaluationResult objects. |
PolicyComplianceStatus |
withEvaluationResults(EvaluationResult... evaluationResults)
An array of
EvaluationResult objects. |
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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.