@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComplianceDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information that shows whether a resource is compliant with the effective tag policy, including details on any noncompliant tag keys.
| Constructor and Description |
|---|
ComplianceDetails() |
| Modifier and Type | Method and Description |
|---|---|
ComplianceDetails |
clone() |
boolean |
equals(Object obj) |
Boolean |
getComplianceStatus()
Whether a resource is compliant with the effective tag policy.
|
List<String> |
getKeysWithNoncompliantValues()
The tag value is noncompliant with the effective tag policy.
|
List<String> |
getNoncompliantKeys()
The tag key is noncompliant with the effective tag policy.
|
int |
hashCode() |
Boolean |
isComplianceStatus()
Whether a resource is compliant with the effective tag policy.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setComplianceStatus(Boolean complianceStatus)
Whether a resource is compliant with the effective tag policy.
|
void |
setKeysWithNoncompliantValues(Collection<String> keysWithNoncompliantValues)
The tag value is noncompliant with the effective tag policy.
|
void |
setNoncompliantKeys(Collection<String> noncompliantKeys)
The tag key is noncompliant with the effective tag policy.
|
String |
toString()
Returns a string representation of this object.
|
ComplianceDetails |
withComplianceStatus(Boolean complianceStatus)
Whether a resource is compliant with the effective tag policy.
|
ComplianceDetails |
withKeysWithNoncompliantValues(Collection<String> keysWithNoncompliantValues)
The tag value is noncompliant with the effective tag policy.
|
ComplianceDetails |
withKeysWithNoncompliantValues(String... keysWithNoncompliantValues)
The tag value is noncompliant with the effective tag policy.
|
ComplianceDetails |
withNoncompliantKeys(Collection<String> noncompliantKeys)
The tag key is noncompliant with the effective tag policy.
|
ComplianceDetails |
withNoncompliantKeys(String... noncompliantKeys)
The tag key is noncompliant with the effective tag policy.
|
public List<String> getNoncompliantKeys()
The tag key is noncompliant with the effective tag policy.
public void setNoncompliantKeys(Collection<String> noncompliantKeys)
The tag key is noncompliant with the effective tag policy.
noncompliantKeys - The tag key is noncompliant with the effective tag policy.public ComplianceDetails withNoncompliantKeys(String... noncompliantKeys)
The tag key is noncompliant with the effective tag policy.
NOTE: This method appends the values to the existing list (if any). Use
setNoncompliantKeys(java.util.Collection) or withNoncompliantKeys(java.util.Collection) if you
want to override the existing values.
noncompliantKeys - The tag key is noncompliant with the effective tag policy.public ComplianceDetails withNoncompliantKeys(Collection<String> noncompliantKeys)
The tag key is noncompliant with the effective tag policy.
noncompliantKeys - The tag key is noncompliant with the effective tag policy.public List<String> getKeysWithNoncompliantValues()
The tag value is noncompliant with the effective tag policy.
public void setKeysWithNoncompliantValues(Collection<String> keysWithNoncompliantValues)
The tag value is noncompliant with the effective tag policy.
keysWithNoncompliantValues - The tag value is noncompliant with the effective tag policy.public ComplianceDetails withKeysWithNoncompliantValues(String... keysWithNoncompliantValues)
The tag value is noncompliant with the effective tag policy.
NOTE: This method appends the values to the existing list (if any). Use
setKeysWithNoncompliantValues(java.util.Collection) or
withKeysWithNoncompliantValues(java.util.Collection) if you want to override the existing values.
keysWithNoncompliantValues - The tag value is noncompliant with the effective tag policy.public ComplianceDetails withKeysWithNoncompliantValues(Collection<String> keysWithNoncompliantValues)
The tag value is noncompliant with the effective tag policy.
keysWithNoncompliantValues - The tag value is noncompliant with the effective tag policy.public void setComplianceStatus(Boolean complianceStatus)
Whether a resource is compliant with the effective tag policy.
complianceStatus - Whether a resource is compliant with the effective tag policy.public Boolean getComplianceStatus()
Whether a resource is compliant with the effective tag policy.
public ComplianceDetails withComplianceStatus(Boolean complianceStatus)
Whether a resource is compliant with the effective tag policy.
complianceStatus - Whether a resource is compliant with the effective tag policy.public Boolean isComplianceStatus()
Whether a resource is compliant with the effective tag policy.
public String toString()
toString in class ObjectObject.toString()public ComplianceDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.