Interface DenyWhen.Builder

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

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

    • allOf

      The conditions, from 1 to 20. All of them must be true for the rule to match.

      Parameters:
      allOf - The conditions, from 1 to 20. All of them must be true for the rule to match.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allOf

      DenyWhen.Builder allOf(Condition... allOf)

      The conditions, from 1 to 20. All of them must be true for the rule to match.

      Parameters:
      allOf - The conditions, from 1 to 20. All of them must be true for the rule to match.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allOf

      The conditions, from 1 to 20. All of them must be true for the rule to match.

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

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

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