Interface EntityItem.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<EntityItem.Builder,,- EntityItem> - SdkBuilder<EntityItem.Builder,,- EntityItem> - SdkPojo
- Enclosing class:
- EntityItem
- 
Method SummaryModifier and TypeMethodDescriptionattributes(Map<String, AttributeValue> attributes) A list of attributes for the entity.default EntityItem.Builderidentifier(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
identifierThe 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.
 
- 
identifierThe identifier of the entity. This is a convenience method that creates an instance of theEntityIdentifier.Builderavoiding the need to create one manually viaEntityIdentifier.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentifier(EntityIdentifier).- Parameters:
- identifier- a consumer that will call methods on- EntityIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
attributesA 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.
 
- 
parentsThe 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.
 
- 
parentsThe 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.
 
- 
parentsThe 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.Builderavoiding the need to create one manually viaEntityIdentifier.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparents(List<EntityIdentifier>).- Parameters:
- parents- a consumer that will call methods on- EntityIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-