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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntitiesDefinition.BuilderentityList(Collection<EntityItem> entityList)An array of entities that are needed to successfully evaluate an authorization request.EntitiesDefinition.BuilderentityList(Consumer<EntityItem.Builder>... entityList)An array of entities that are needed to successfully evaluate an authorization request.EntitiesDefinition.BuilderentityList(EntityItem... entityList)An array of entities that are needed to successfully evaluate an authorization request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
entityList
EntitiesDefinition.Builder entityList(Collection<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
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
EntitiesDefinition.Builder entityList(Consumer<EntityItem.Builder>... 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 theEntityItem.Builderavoiding the need to create one manually viaEntityItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#entityList(List.) - Parameters:
entityList- a consumer that will call methods onEntityItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#entityList(java.util.Collection)
-
-