Interface DocumentAclCondition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DocumentAclCondition.Builder,
,DocumentAclCondition> SdkBuilder<DocumentAclCondition.Builder,
,DocumentAclCondition> SdkPojo
- Enclosing class:
DocumentAclCondition
-
Method Summary
Modifier and TypeMethodDescriptiongroups
(Collection<DocumentAclGroup> groups) An array of group identifiers that this condition applies to.groups
(Consumer<DocumentAclGroup.Builder>... groups) An array of group identifiers that this condition applies to.groups
(DocumentAclGroup... groups) An array of group identifiers that this condition applies to.memberRelation
(String memberRelation) The logical relation between members in the condition, determining how multiple user or group conditions are combined.memberRelation
(MemberRelation memberRelation) The logical relation between members in the condition, determining how multiple user or group conditions are combined.users
(Collection<DocumentAclUser> users) An array of user identifiers that this condition applies to.users
(Consumer<DocumentAclUser.Builder>... users) An array of user identifiers that this condition applies to.users
(DocumentAclUser... users) An array of user identifiers that this condition applies to.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
-
memberRelation
The logical relation between members in the condition, determining how multiple user or group conditions are combined.
- Parameters:
memberRelation
- The logical relation between members in the condition, determining how multiple user or group conditions are combined.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
memberRelation
The logical relation between members in the condition, determining how multiple user or group conditions are combined.
- Parameters:
memberRelation
- The logical relation between members in the condition, determining how multiple user or group conditions are combined.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
users
An array of user identifiers that this condition applies to. Users listed here are subject to the access rule defined by this condition.
- Parameters:
users
- An array of user identifiers that this condition applies to. Users listed here are subject to the access rule defined by this condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
An array of user identifiers that this condition applies to. Users listed here are subject to the access rule defined by this condition.
- Parameters:
users
- An array of user identifiers that this condition applies to. Users listed here are subject to the access rule defined by this condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
An array of user identifiers that this condition applies to. Users listed here are subject to the access rule defined by this condition.
This is a convenience method that creates an instance of theDocumentAclUser.Builder
avoiding the need to create one manually viaDocumentAclUser.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tousers(List<DocumentAclUser>)
.- Parameters:
users
- a consumer that will call methods onDocumentAclUser.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groups
An array of group identifiers that this condition applies to. Groups listed here are subject to the access rule defined by this condition.
- Parameters:
groups
- An array of group identifiers that this condition applies to. Groups listed here are subject to the access rule defined by this condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
An array of group identifiers that this condition applies to. Groups listed here are subject to the access rule defined by this condition.
- Parameters:
groups
- An array of group identifiers that this condition applies to. Groups listed here are subject to the access rule defined by this condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
An array of group identifiers that this condition applies to. Groups listed here are subject to the access rule defined by this condition.
This is a convenience method that creates an instance of theDocumentAclGroup.Builder
avoiding the need to create one manually viaDocumentAclGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroups(List<DocumentAclGroup>)
.- Parameters:
groups
- a consumer that will call methods onDocumentAclGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-