Interface EntitiesDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EntitiesDefinition.Builder,,EntitiesDefinition> SdkBuilder<EntitiesDefinition.Builder,,EntitiesDefinition> SdkPojo
- Enclosing class:
EntitiesDefinition
-
Method Summary
Modifier and TypeMethodDescriptionentityList(Collection<EntityItem> entityList) An array of entities that are needed to successfully evaluate an authorization request.entityList(Consumer<EntityItem.Builder>... entityList) An array of entities that are needed to successfully evaluate an authorization request.entityList(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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 theEntityItem.Builderavoiding the need to create one manually viaEntityItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentityList(List<EntityItem>).- 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:
-