Interface CheckNoPublicAccessResponse.Builder

    • Method Detail

      • result

        CheckNoPublicAccessResponse.Builder result​(String 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:
        CheckNoPublicAccessResult, CheckNoPublicAccessResult
      • result

        CheckNoPublicAccessResponse.Builder result​(CheckNoPublicAccessResult 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:
        CheckNoPublicAccessResult, CheckNoPublicAccessResult
      • message

        CheckNoPublicAccessResponse.Builder message​(String 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

        CheckNoPublicAccessResponse.Builder reasons​(Collection<ReasonSummary> 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

        CheckNoPublicAccessResponse.Builder reasons​(ReasonSummary... 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.