Interface CheckNoPublicAccessResponse.Builder

  • Method Details

    • result

      The result of the check for public access to the specified resource type. If the result is PASS, the policy doesn't allow public access to the specified resource type. If the result is FAIL, the policy might allow public access to the specified resource type.

      Parameters:
      result - The result of the check for public access to the specified resource type. If the result is PASS, the policy doesn't allow public access to the specified resource type. If the result is FAIL, the policy might allow public access to the specified resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • result

      The result of the check for public access to the specified resource type. If the result is PASS, the policy doesn't allow public access to the specified resource type. If the result is FAIL, the policy might allow public access to the specified resource type.

      Parameters:
      result - The result of the check for public access to the specified resource type. If the result is PASS, the policy doesn't allow public access to the specified resource type. If the result is FAIL, the policy might allow public access to the specified resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • message

      The message indicating whether the specified policy allows public access to resources.

      Parameters:
      message - The message indicating whether the specified policy allows public access to resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reasons

      A list of reasons why the specified resource policy grants public access for the resource type.

      Parameters:
      reasons - A list of reasons why the specified resource policy grants public access for the resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reasons

      A list of reasons why the specified resource policy grants public access for the resource type.

      Parameters:
      reasons - A list of reasons why the specified resource policy grants public access for the resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reasons

      A list of reasons why the specified resource policy grants public access for the resource type.

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

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

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