Interface ExplicitDeny.Builder

    • Method Detail

      • policies

        ExplicitDeny.Builder policies​(Collection<Policy> policies)

        The policies that denied the authorization.

        Parameters:
        policies - The policies that denied the authorization.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policies

        ExplicitDeny.Builder policies​(Policy... policies)

        The policies that denied the authorization.

        Parameters:
        policies - The policies that denied the authorization.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policies

        ExplicitDeny.Builder policies​(Consumer<Policy.Builder>... policies)

        The policies that denied the authorization.

        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)