@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidatePolicyFinding extends Object implements Serializable, Cloneable, StructuredPojo
A finding in a policy. Each finding is an actionable recommendation that can be used to improve the policy.
Constructor and Description |
---|
ValidatePolicyFinding() |
Modifier and Type | Method and Description |
---|---|
ValidatePolicyFinding |
clone() |
boolean |
equals(Object obj) |
String |
getFindingDetails()
A localized message that explains the finding and provides guidance on how to address it.
|
String |
getFindingType()
The impact of the finding.
|
String |
getIssueCode()
The issue code provides an identifier of the issue associated with this finding.
|
String |
getLearnMoreLink()
A link to additional documentation about the type of finding.
|
List<Location> |
getLocations()
The list of locations in the policy document that are related to the finding.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFindingDetails(String findingDetails)
A localized message that explains the finding and provides guidance on how to address it.
|
void |
setFindingType(String findingType)
The impact of the finding.
|
void |
setIssueCode(String issueCode)
The issue code provides an identifier of the issue associated with this finding.
|
void |
setLearnMoreLink(String learnMoreLink)
A link to additional documentation about the type of finding.
|
void |
setLocations(Collection<Location> locations)
The list of locations in the policy document that are related to the finding.
|
String |
toString()
Returns a string representation of this object.
|
ValidatePolicyFinding |
withFindingDetails(String findingDetails)
A localized message that explains the finding and provides guidance on how to address it.
|
ValidatePolicyFinding |
withFindingType(String findingType)
The impact of the finding.
|
ValidatePolicyFinding |
withFindingType(ValidatePolicyFindingType findingType)
The impact of the finding.
|
ValidatePolicyFinding |
withIssueCode(String issueCode)
The issue code provides an identifier of the issue associated with this finding.
|
ValidatePolicyFinding |
withLearnMoreLink(String learnMoreLink)
A link to additional documentation about the type of finding.
|
ValidatePolicyFinding |
withLocations(Collection<Location> locations)
The list of locations in the policy document that are related to the finding.
|
ValidatePolicyFinding |
withLocations(Location... locations)
The list of locations in the policy document that are related to the finding.
|
public void setFindingDetails(String findingDetails)
A localized message that explains the finding and provides guidance on how to address it.
findingDetails
- A localized message that explains the finding and provides guidance on how to address it.public String getFindingDetails()
A localized message that explains the finding and provides guidance on how to address it.
public ValidatePolicyFinding withFindingDetails(String findingDetails)
A localized message that explains the finding and provides guidance on how to address it.
findingDetails
- A localized message that explains the finding and provides guidance on how to address it.public void setFindingType(String findingType)
The impact of the finding.
Security warnings report when the policy allows access that we consider overly permissive.
Errors report when a part of the policy is not functional.
Warnings report non-security issues when a policy does not conform to policy writing best practices.
Suggestions recommend stylistic improvements in the policy that do not impact access.
findingType
- The impact of the finding.
Security warnings report when the policy allows access that we consider overly permissive.
Errors report when a part of the policy is not functional.
Warnings report non-security issues when a policy does not conform to policy writing best practices.
Suggestions recommend stylistic improvements in the policy that do not impact access.
ValidatePolicyFindingType
public String getFindingType()
The impact of the finding.
Security warnings report when the policy allows access that we consider overly permissive.
Errors report when a part of the policy is not functional.
Warnings report non-security issues when a policy does not conform to policy writing best practices.
Suggestions recommend stylistic improvements in the policy that do not impact access.
Security warnings report when the policy allows access that we consider overly permissive.
Errors report when a part of the policy is not functional.
Warnings report non-security issues when a policy does not conform to policy writing best practices.
Suggestions recommend stylistic improvements in the policy that do not impact access.
ValidatePolicyFindingType
public ValidatePolicyFinding withFindingType(String findingType)
The impact of the finding.
Security warnings report when the policy allows access that we consider overly permissive.
Errors report when a part of the policy is not functional.
Warnings report non-security issues when a policy does not conform to policy writing best practices.
Suggestions recommend stylistic improvements in the policy that do not impact access.
findingType
- The impact of the finding.
Security warnings report when the policy allows access that we consider overly permissive.
Errors report when a part of the policy is not functional.
Warnings report non-security issues when a policy does not conform to policy writing best practices.
Suggestions recommend stylistic improvements in the policy that do not impact access.
ValidatePolicyFindingType
public ValidatePolicyFinding withFindingType(ValidatePolicyFindingType findingType)
The impact of the finding.
Security warnings report when the policy allows access that we consider overly permissive.
Errors report when a part of the policy is not functional.
Warnings report non-security issues when a policy does not conform to policy writing best practices.
Suggestions recommend stylistic improvements in the policy that do not impact access.
findingType
- The impact of the finding.
Security warnings report when the policy allows access that we consider overly permissive.
Errors report when a part of the policy is not functional.
Warnings report non-security issues when a policy does not conform to policy writing best practices.
Suggestions recommend stylistic improvements in the policy that do not impact access.
ValidatePolicyFindingType
public void setIssueCode(String issueCode)
The issue code provides an identifier of the issue associated with this finding.
issueCode
- The issue code provides an identifier of the issue associated with this finding.public String getIssueCode()
The issue code provides an identifier of the issue associated with this finding.
public ValidatePolicyFinding withIssueCode(String issueCode)
The issue code provides an identifier of the issue associated with this finding.
issueCode
- The issue code provides an identifier of the issue associated with this finding.public void setLearnMoreLink(String learnMoreLink)
A link to additional documentation about the type of finding.
learnMoreLink
- A link to additional documentation about the type of finding.public String getLearnMoreLink()
A link to additional documentation about the type of finding.
public ValidatePolicyFinding withLearnMoreLink(String learnMoreLink)
A link to additional documentation about the type of finding.
learnMoreLink
- A link to additional documentation about the type of finding.public List<Location> getLocations()
The list of locations in the policy document that are related to the finding. The issue code provides a summary of an issue identified by the finding.
public void setLocations(Collection<Location> locations)
The list of locations in the policy document that are related to the finding. The issue code provides a summary of an issue identified by the finding.
locations
- The list of locations in the policy document that are related to the finding. The issue code provides a
summary of an issue identified by the finding.public ValidatePolicyFinding withLocations(Location... locations)
The list of locations in the policy document that are related to the finding. The issue code provides a summary of an issue identified by the finding.
NOTE: This method appends the values to the existing list (if any). Use
setLocations(java.util.Collection)
or withLocations(java.util.Collection)
if you want to
override the existing values.
locations
- The list of locations in the policy document that are related to the finding. The issue code provides a
summary of an issue identified by the finding.public ValidatePolicyFinding withLocations(Collection<Location> locations)
The list of locations in the policy document that are related to the finding. The issue code provides a summary of an issue identified by the finding.
locations
- The list of locations in the policy document that are related to the finding. The issue code provides a
summary of an issue identified by the finding.public String toString()
toString
in class Object
Object.toString()
public ValidatePolicyFinding clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.