Interface ValidatePolicyFinding.Builder

  • Method Details

    • findingDetails

      ValidatePolicyFinding.Builder findingDetails(String findingDetails)

      A localized message that explains the finding and provides guidance on how to address it.

      Parameters:
      findingDetails - A localized message that explains the finding and provides guidance on how to address it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findingType

      ValidatePolicyFinding.Builder findingType(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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • issueCode

      ValidatePolicyFinding.Builder issueCode(String issueCode)

      The issue code provides an identifier of the issue associated with this finding.

      Parameters:
      issueCode - The issue code provides an identifier of the issue associated with this finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • learnMoreLink

      ValidatePolicyFinding.Builder learnMoreLink(String learnMoreLink)

      A link to additional documentation about the type of finding.

      Parameters:
      learnMoreLink - A link to additional documentation about the type of finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • locations

      ValidatePolicyFinding.Builder locations(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      This is a convenience method that creates an instance of the Location.Builder avoiding the need to create one manually via Location.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to locations(List<Location>).

      Parameters:
      locations - a consumer that will call methods on Location.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: