Interface EntityItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EntityItem.Builder,
,EntityItem> SdkBuilder<EntityItem.Builder,
,EntityItem> SdkPojo
- Enclosing class:
EntityItem
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Map<String, AttributeValue> attributes) A list of attributes for the entity.default EntityItem.Builder
identifier
(Consumer<EntityIdentifier.Builder> identifier) The identifier of the entity.identifier
(EntityIdentifier identifier) The identifier of the entity.parents
(Collection<EntityIdentifier> parents) The parent entities in the hierarchy that contains the entity.parents
(Consumer<EntityIdentifier.Builder>... parents) The parent entities in the hierarchy that contains the entity.parents
(EntityIdentifier... parents) The parent entities in the hierarchy that contains the entity.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, sdkFieldNameToField, sdkFields
-
Method Details
-
identifier
The identifier of the entity.
- Parameters:
identifier
- The identifier of the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
The identifier of the entity.
This is a convenience method that creates an instance of theEntityIdentifier.Builder
avoiding the need to create one manually viaEntityIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toidentifier(EntityIdentifier)
.- Parameters:
identifier
- a consumer that will call methods onEntityIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributes
A list of attributes for the entity.
- Parameters:
attributes
- A list of attributes for the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parents
The parent entities in the hierarchy that contains the entity. A principal or resource entity can be defined with at most 99 transitive parents per authorization request.
A transitive parent is an entity in the hierarchy of entities including all direct parents, and parents of parents. For example, a user can be a member of 91 groups if one of those groups is a member of eight groups, for a total of 100: one entity, 91 entity parents, and eight parents of parents.
- Parameters:
parents
- The parent entities in the hierarchy that contains the entity. A principal or resource entity can be defined with at most 99 transitive parents per authorization request.A transitive parent is an entity in the hierarchy of entities including all direct parents, and parents of parents. For example, a user can be a member of 91 groups if one of those groups is a member of eight groups, for a total of 100: one entity, 91 entity parents, and eight parents of parents.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parents
The parent entities in the hierarchy that contains the entity. A principal or resource entity can be defined with at most 99 transitive parents per authorization request.
A transitive parent is an entity in the hierarchy of entities including all direct parents, and parents of parents. For example, a user can be a member of 91 groups if one of those groups is a member of eight groups, for a total of 100: one entity, 91 entity parents, and eight parents of parents.
- Parameters:
parents
- The parent entities in the hierarchy that contains the entity. A principal or resource entity can be defined with at most 99 transitive parents per authorization request.A transitive parent is an entity in the hierarchy of entities including all direct parents, and parents of parents. For example, a user can be a member of 91 groups if one of those groups is a member of eight groups, for a total of 100: one entity, 91 entity parents, and eight parents of parents.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parents
The parent entities in the hierarchy that contains the entity. A principal or resource entity can be defined with at most 99 transitive parents per authorization request.
A transitive parent is an entity in the hierarchy of entities including all direct parents, and parents of parents. For example, a user can be a member of 91 groups if one of those groups is a member of eight groups, for a total of 100: one entity, 91 entity parents, and eight parents of parents.
This is a convenience method that creates an instance of theEntityIdentifier.Builder
avoiding the need to create one manually viaEntityIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparents(List<EntityIdentifier>)
.- Parameters:
parents
- a consumer that will call methods onEntityIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-