Interface Allowed.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Allowed.Builder,Allowed>, SdkBuilder<Allowed.Builder,Allowed>, SdkPojo
Enclosing class:
Allowed

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

    • policies

      Allowed.Builder policies(Collection<Policy> policies)

      A list of policies that allowed the authentication.

      Parameters:
      policies - A list of policies that allowed the authentication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policies

      Allowed.Builder policies(Policy... policies)

      A list of policies that allowed the authentication.

      Parameters:
      policies - A list of policies that allowed the authentication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policies

      Allowed.Builder policies(Consumer<Policy.Builder>... policies)

      A list of policies that allowed the authentication.

      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: