Interface Allowed.Builder

    • Method Detail

      • 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).

        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:
        #policies(java.util.Collection)