@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()
These are keys defined in the effective policy that are on the resource with either incorrect case treatment or
noncompliant values.
|
List<String> |
getNoncompliantKeys()
These tag keys on the resource are noncompliant with the effective tag policy.
|
int |
hashCode() |
Boolean |
isComplianceStatus()
Whether a resource is compliant with the effective tag policy.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComplianceStatus(Boolean complianceStatus)
Whether a resource is compliant with the effective tag policy.
|
void |
setKeysWithNoncompliantValues(Collection<String> keysWithNoncompliantValues)
These are keys defined in the effective policy that are on the resource with either incorrect case treatment or
noncompliant values.
|
void |
setNoncompliantKeys(Collection<String> noncompliantKeys)
These tag keys on the resource are 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)
These are keys defined in the effective policy that are on the resource with either incorrect case treatment or
noncompliant values.
|
ComplianceDetails |
withKeysWithNoncompliantValues(String... keysWithNoncompliantValues)
These are keys defined in the effective policy that are on the resource with either incorrect case treatment or
noncompliant values.
|
ComplianceDetails |
withNoncompliantKeys(Collection<String> noncompliantKeys)
These tag keys on the resource are noncompliant with the effective tag policy.
|
ComplianceDetails |
withNoncompliantKeys(String... noncompliantKeys)
These tag keys on the resource are noncompliant with the effective tag policy.
|
public List<String> getNoncompliantKeys()
These tag keys on the resource are noncompliant with the effective tag policy.
public void setNoncompliantKeys(Collection<String> noncompliantKeys)
These tag keys on the resource are noncompliant with the effective tag policy.
noncompliantKeys
- These tag keys on the resource are noncompliant with the effective tag policy.public ComplianceDetails withNoncompliantKeys(String... noncompliantKeys)
These tag keys on the resource are 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
- These tag keys on the resource are noncompliant with the effective tag policy.public ComplianceDetails withNoncompliantKeys(Collection<String> noncompliantKeys)
These tag keys on the resource are noncompliant with the effective tag policy.
noncompliantKeys
- These tag keys on the resource are noncompliant with the effective tag policy.public List<String> getKeysWithNoncompliantValues()
These are keys defined in the effective policy that are on the resource with either incorrect case treatment or noncompliant values.
public void setKeysWithNoncompliantValues(Collection<String> keysWithNoncompliantValues)
These are keys defined in the effective policy that are on the resource with either incorrect case treatment or noncompliant values.
keysWithNoncompliantValues
- These are keys defined in the effective policy that are on the resource with either incorrect case
treatment or noncompliant values.public ComplianceDetails withKeysWithNoncompliantValues(String... keysWithNoncompliantValues)
These are keys defined in the effective policy that are on the resource with either incorrect case treatment or noncompliant values.
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
- These are keys defined in the effective policy that are on the resource with either incorrect case
treatment or noncompliant values.public ComplianceDetails withKeysWithNoncompliantValues(Collection<String> keysWithNoncompliantValues)
These are keys defined in the effective policy that are on the resource with either incorrect case treatment or noncompliant values.
keysWithNoncompliantValues
- These are keys defined in the effective policy that are on the resource with either incorrect case
treatment or noncompliant values.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 Object
Object.toString()
public ComplianceDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.