Interface ImplicitDeny.Builder

  • Method Details

    • policies

      ImplicitDeny.Builder policies(Collection<Policy> policies)

      Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.

      Parameters:
      policies - Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policies

      ImplicitDeny.Builder policies(Policy... policies)

      Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.

      Parameters:
      policies - Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policies

      Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.

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

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

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