Interface CheckNoNewAccessResponse.Builder

All Superinterfaces:
AccessAnalyzerResponse.Builder, AwsResponse.Builder, Buildable, CopyableBuilder<CheckNoNewAccessResponse.Builder,CheckNoNewAccessResponse>, SdkBuilder<CheckNoNewAccessResponse.Builder,CheckNoNewAccessResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CheckNoNewAccessResponse

public static interface CheckNoNewAccessResponse.Builder extends AccessAnalyzerResponse.Builder, SdkPojo, CopyableBuilder<CheckNoNewAccessResponse.Builder,CheckNoNewAccessResponse>
  • Method Details

    • result

      The result of the check for new access. If the result is PASS, no new access is allowed by the updated policy. If the result is FAIL, the updated policy might allow new access.

      Parameters:
      result - The result of the check for new access. If the result is PASS, no new access is allowed by the updated policy. If the result is FAIL, the updated policy might allow new access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • result

      The result of the check for new access. If the result is PASS, no new access is allowed by the updated policy. If the result is FAIL, the updated policy might allow new access.

      Parameters:
      result - The result of the check for new access. If the result is PASS, no new access is allowed by the updated policy. If the result is FAIL, the updated policy might allow new access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • message

      The message indicating whether the updated policy allows new access.

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

      A description of the reasoning of the result.

      Parameters:
      reasons - A description of the reasoning of the result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reasons

      A description of the reasoning of the result.

      Parameters:
      reasons - A description of the reasoning of the result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reasons

      A description of the reasoning of the result.

      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: