Interface EntitiesDefinition.Builder

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

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

    • entityList

      An array of entities that are needed to successfully evaluate an authorization request. Each entity in this array must include an identifier for the entity, the attributes of the entity, and a list of any parent entities.

      Parameters:
      entityList - An array of entities that are needed to successfully evaluate an authorization request. Each entity in this array must include an identifier for the entity, the attributes of the entity, and a list of any parent entities.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entityList

      EntitiesDefinition.Builder entityList(EntityItem... entityList)

      An array of entities that are needed to successfully evaluate an authorization request. Each entity in this array must include an identifier for the entity, the attributes of the entity, and a list of any parent entities.

      Parameters:
      entityList - An array of entities that are needed to successfully evaluate an authorization request. Each entity in this array must include an identifier for the entity, the attributes of the entity, and a list of any parent entities.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entityList

      An array of entities that are needed to successfully evaluate an authorization request. Each entity in this array must include an identifier for the entity, the attributes of the entity, and a list of any parent entities.

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

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

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