@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComplianceDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details on whether a resource is compliant with the effective tag policy, including information 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> |
getInvalidKeys()
The tag key is noncompliant with the effective tag policy.
|
List<String> |
getInvalidValues()
The tag value is noncompliant with the effective tag policy.
|
List<String> |
getMissingKeys()
A tag key that is required by the effective tag policy is missing.
|
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 |
setInvalidKeys(Collection<String> invalidKeys)
The tag key is noncompliant with the effective tag policy.
|
void |
setInvalidValues(Collection<String> invalidValues)
The tag value is noncompliant with the effective tag policy.
|
void |
setMissingKeys(Collection<String> missingKeys)
A tag key that is required by the effective tag policy is missing.
|
String |
toString()
Returns a string representation of this object.
|
ComplianceDetails |
withComplianceStatus(Boolean complianceStatus)
Whether a resource is compliant with the effective tag policy.
|
ComplianceDetails |
withInvalidKeys(Collection<String> invalidKeys)
The tag key is noncompliant with the effective tag policy.
|
ComplianceDetails |
withInvalidKeys(String... invalidKeys)
The tag key is noncompliant with the effective tag policy.
|
ComplianceDetails |
withInvalidValues(Collection<String> invalidValues)
The tag value is noncompliant with the effective tag policy.
|
ComplianceDetails |
withInvalidValues(String... invalidValues)
The tag value is noncompliant with the effective tag policy.
|
ComplianceDetails |
withMissingKeys(Collection<String> missingKeys)
A tag key that is required by the effective tag policy is missing.
|
ComplianceDetails |
withMissingKeys(String... missingKeys)
A tag key that is required by the effective tag policy is missing.
|
public List<String> getMissingKeys()
A tag key that is required by the effective tag policy is missing.
public void setMissingKeys(Collection<String> missingKeys)
A tag key that is required by the effective tag policy is missing.
missingKeys - A tag key that is required by the effective tag policy is missing.public ComplianceDetails withMissingKeys(String... missingKeys)
A tag key that is required by the effective tag policy is missing.
NOTE: This method appends the values to the existing list (if any). Use
setMissingKeys(java.util.Collection) or withMissingKeys(java.util.Collection) if you want to
override the existing values.
missingKeys - A tag key that is required by the effective tag policy is missing.public ComplianceDetails withMissingKeys(Collection<String> missingKeys)
A tag key that is required by the effective tag policy is missing.
missingKeys - A tag key that is required by the effective tag policy is missing.public List<String> getInvalidKeys()
The tag key is noncompliant with the effective tag policy.
public void setInvalidKeys(Collection<String> invalidKeys)
The tag key is noncompliant with the effective tag policy.
invalidKeys - The tag key is noncompliant with the effective tag policy.public ComplianceDetails withInvalidKeys(String... invalidKeys)
The tag key is noncompliant with the effective tag policy.
NOTE: This method appends the values to the existing list (if any). Use
setInvalidKeys(java.util.Collection) or withInvalidKeys(java.util.Collection) if you want to
override the existing values.
invalidKeys - The tag key is noncompliant with the effective tag policy.public ComplianceDetails withInvalidKeys(Collection<String> invalidKeys)
The tag key is noncompliant with the effective tag policy.
invalidKeys - The tag key is noncompliant with the effective tag policy.public List<String> getInvalidValues()
The tag value is noncompliant with the effective tag policy.
public void setInvalidValues(Collection<String> invalidValues)
The tag value is noncompliant with the effective tag policy.
invalidValues - The tag value is noncompliant with the effective tag policy.public ComplianceDetails withInvalidValues(String... invalidValues)
The tag value is noncompliant with the effective tag policy.
NOTE: This method appends the values to the existing list (if any). Use
setInvalidValues(java.util.Collection) or withInvalidValues(java.util.Collection) if you want
to override the existing values.
invalidValues - The tag value is noncompliant with the effective tag policy.public ComplianceDetails withInvalidValues(Collection<String> invalidValues)
The tag value is noncompliant with the effective tag policy.
invalidValues - 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.