public class NonCompliantResource
extends java.lang.Object
implements java.io.Serializable
Information about the resource that was noncompliant with the audit check.
Constructor and Description |
---|
NonCompliantResource() |
Modifier and Type | Method and Description |
---|---|
NonCompliantResource |
addadditionalInfoEntry(java.lang.String key,
java.lang.String value)
Other information about the noncompliant resource.
|
NonCompliantResource |
clearadditionalInfoEntries()
Removes all the entries added into additionalInfo.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,java.lang.String> |
getAdditionalInfo()
Other information about the noncompliant resource.
|
ResourceIdentifier |
getResourceIdentifier()
Information that identifies the noncompliant resource.
|
java.lang.String |
getResourceType()
The type of the noncompliant resource.
|
int |
hashCode() |
void |
setAdditionalInfo(java.util.Map<java.lang.String,java.lang.String> additionalInfo)
Other information about the noncompliant resource.
|
void |
setResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information that identifies the noncompliant resource.
|
void |
setResourceType(ResourceType resourceType)
The type of the noncompliant resource.
|
void |
setResourceType(java.lang.String resourceType)
The type of the noncompliant resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NonCompliantResource |
withAdditionalInfo(java.util.Map<java.lang.String,java.lang.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(java.lang.String resourceType)
The type of the noncompliant resource.
|
public java.lang.String getResourceType()
The type of the noncompliant resource.
Constraints:
Allowed Values: DEVICE_CERTIFICATE, CA_CERTIFICATE, IOT_POLICY,
COGNITO_IDENTITY_POOL, CLIENT_ID, ACCOUNT_SETTINGS, ROLE_ALIAS, IAM_ROLE
The type of the noncompliant resource.
ResourceType
public void setResourceType(java.lang.String resourceType)
The type of the noncompliant resource.
Constraints:
Allowed Values: DEVICE_CERTIFICATE, CA_CERTIFICATE, IOT_POLICY,
COGNITO_IDENTITY_POOL, CLIENT_ID, ACCOUNT_SETTINGS, ROLE_ALIAS, IAM_ROLE
resourceType
- The type of the noncompliant resource.
ResourceType
public NonCompliantResource withResourceType(java.lang.String resourceType)
The type of the noncompliant resource.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEVICE_CERTIFICATE, CA_CERTIFICATE, IOT_POLICY,
COGNITO_IDENTITY_POOL, CLIENT_ID, ACCOUNT_SETTINGS, ROLE_ALIAS, IAM_ROLE
resourceType
- The type of the noncompliant resource.
ResourceType
public void setResourceType(ResourceType resourceType)
The type of the noncompliant resource.
Constraints:
Allowed Values: DEVICE_CERTIFICATE, CA_CERTIFICATE, IOT_POLICY,
COGNITO_IDENTITY_POOL, CLIENT_ID, ACCOUNT_SETTINGS, ROLE_ALIAS, IAM_ROLE
resourceType
- The type of the noncompliant resource.
ResourceType
public NonCompliantResource withResourceType(ResourceType resourceType)
The type of the noncompliant resource.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEVICE_CERTIFICATE, CA_CERTIFICATE, IOT_POLICY,
COGNITO_IDENTITY_POOL, CLIENT_ID, ACCOUNT_SETTINGS, ROLE_ALIAS, IAM_ROLE
resourceType
- The type of the noncompliant resource.
ResourceType
public ResourceIdentifier getResourceIdentifier()
Information that identifies the noncompliant resource.
Information that identifies the noncompliant resource.
public void setResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information that identifies the noncompliant resource.
resourceIdentifier
- Information that identifies the noncompliant resource.
public NonCompliantResource withResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information that identifies the noncompliant resource.
Returns a reference to this object so that method calls can be chained together.
resourceIdentifier
- Information that identifies the noncompliant resource.
public java.util.Map<java.lang.String,java.lang.String> getAdditionalInfo()
Other information about the noncompliant resource.
Other information about the noncompliant resource.
public void setAdditionalInfo(java.util.Map<java.lang.String,java.lang.String> additionalInfo)
Other information about the noncompliant resource.
additionalInfo
- Other information about the noncompliant resource.
public NonCompliantResource withAdditionalInfo(java.util.Map<java.lang.String,java.lang.String> additionalInfo)
Other information about the noncompliant resource.
Returns a reference to this object so that method calls can be chained together.
additionalInfo
- Other information about the noncompliant resource.
public NonCompliantResource addadditionalInfoEntry(java.lang.String key, java.lang.String value)
Other information about the noncompliant resource.
The method adds a new key-value pair into additionalInfo parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into additionalInfo.value
- The corresponding value of the entry to be added into
additionalInfo.public NonCompliantResource clearadditionalInfoEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.