@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NonCompliantResource extends Object implements Serializable, Cloneable, StructuredPojo
Information about the resource that was noncompliant with the audit check.
| Constructor and Description |
|---|
NonCompliantResource() |
| Modifier and Type | Method and Description |
|---|---|
NonCompliantResource |
addAdditionalInfoEntry(String key,
String value)
Add a single AdditionalInfo entry
|
NonCompliantResource |
clearAdditionalInfoEntries()
Removes all the entries added into AdditionalInfo.
|
NonCompliantResource |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAdditionalInfo()
Other information about the noncompliant resource.
|
ResourceIdentifier |
getResourceIdentifier()
Information that identifies the noncompliant resource.
|
String |
getResourceType()
The type of the noncompliant resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAdditionalInfo(Map<String,String> additionalInfo)
Other information about the noncompliant resource.
|
void |
setResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information that identifies the noncompliant resource.
|
void |
setResourceType(String resourceType)
The type of the noncompliant resource.
|
String |
toString()
Returns a string representation of this object.
|
NonCompliantResource |
withAdditionalInfo(Map<String,String> additionalInfo)
Other information about the noncompliant resource.
|
NonCompliantResource |
withResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information that identifies the noncompliant resource.
|
NonCompliantResource |
withResourceType(ResourceType resourceType)
The type of the noncompliant resource.
|
NonCompliantResource |
withResourceType(String resourceType)
The type of the noncompliant resource.
|
public void setResourceType(String resourceType)
The type of the noncompliant resource.
resourceType - The type of the noncompliant resource.ResourceTypepublic String getResourceType()
The type of the noncompliant resource.
ResourceTypepublic NonCompliantResource withResourceType(String resourceType)
The type of the noncompliant resource.
resourceType - The type of the noncompliant resource.ResourceTypepublic NonCompliantResource withResourceType(ResourceType resourceType)
The type of the noncompliant resource.
resourceType - The type of the noncompliant resource.ResourceTypepublic void setResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information that identifies the noncompliant resource.
resourceIdentifier - Information that identifies the noncompliant resource.public ResourceIdentifier getResourceIdentifier()
Information that identifies the noncompliant resource.
public NonCompliantResource withResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information that identifies the noncompliant resource.
resourceIdentifier - Information that identifies the noncompliant resource.public Map<String,String> getAdditionalInfo()
Other information about the noncompliant resource.
public void setAdditionalInfo(Map<String,String> additionalInfo)
Other information about the noncompliant resource.
additionalInfo - Other information about the noncompliant resource.public NonCompliantResource withAdditionalInfo(Map<String,String> additionalInfo)
Other information about the noncompliant resource.
additionalInfo - Other information about the noncompliant resource.public NonCompliantResource addAdditionalInfoEntry(String key, String value)
public NonCompliantResource clearAdditionalInfoEntries()
public String toString()
toString in class ObjectObject.toString()public NonCompliantResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.