Interface Denied.Builder

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

@Mutable @NotThreadSafe public static interface Denied.Builder extends SdkPojo, CopyableBuilder<Denied.Builder,Denied>
  • Method Details

    • implicitDeny

      Denied.Builder implicitDeny(ImplicitDeny implicitDeny)

      Information that implicitly denies the authorization. When a policy doesn't explicitly deny or allow an action on a resource it is considered an implicit deny.

      Parameters:
      implicitDeny - Information that implicitly denies the authorization. When a policy doesn't explicitly deny or allow an action on a resource it is considered an implicit deny.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • implicitDeny

      default Denied.Builder implicitDeny(Consumer<ImplicitDeny.Builder> implicitDeny)

      Information that implicitly denies the authorization. When a policy doesn't explicitly deny or allow an action on a resource it is considered an implicit deny.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to implicitDeny(ImplicitDeny).

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

      Denied.Builder explicitDeny(ExplicitDeny explicitDeny)

      Information that explicitly denies the authorization.

      Parameters:
      explicitDeny - Information that explicitly denies the authorization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • explicitDeny

      default Denied.Builder explicitDeny(Consumer<ExplicitDeny.Builder> explicitDeny)

      Information that explicitly denies the authorization.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to explicitDeny(ExplicitDeny).

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