Interface DocumentAclCondition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DocumentAclCondition.Builder,,DocumentAclCondition> SdkBuilder<DocumentAclCondition.Builder,,DocumentAclCondition> SdkPojo
- Enclosing class:
DocumentAclCondition
-
Method Summary
Modifier and TypeMethodDescriptionconditionOperator(String conditionOperator) The logical operator for combining users and groups within this condition.conditionOperator(DocumentAclMemberRelation conditionOperator) The logical operator for combining users and groups within this condition.groups(Collection<DocumentAclGroup> groups) The list of group entries in this condition.groups(Consumer<DocumentAclGroup.Builder>... groups) The list of group entries in this condition.groups(DocumentAclGroup... groups) The list of group entries in this condition.users(Collection<DocumentAclUser> users) The list of user entries in this condition.users(Consumer<DocumentAclUser.Builder>... users) The list of user entries in this condition.users(DocumentAclUser... users) The list of user entries in this condition.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, sdkFieldNameToField, sdkFields
-
Method Details
-
conditionOperator
The logical operator for combining users and groups within this condition. Valid values:
AND– Both a user match and a group match are required.OR– Either a user match or a group match is sufficient.- Parameters:
conditionOperator- The logical operator for combining users and groups within this condition. Valid values:AND– Both a user match and a group match are required.OR– Either a user match or a group match is sufficient.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
conditionOperator
The logical operator for combining users and groups within this condition. Valid values:
AND– Both a user match and a group match are required.OR– Either a user match or a group match is sufficient.- Parameters:
conditionOperator- The logical operator for combining users and groups within this condition. Valid values:AND– Both a user match and a group match are required.OR– Either a user match or a group match is sufficient.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groups
The list of group entries in this condition.
- Parameters:
groups- The list of group entries in this condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
The list of group entries in this condition.
- Parameters:
groups- The list of group entries in this condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
The list of group entries in this condition.
This is a convenience method that creates an instance of theDocumentAclGroup.Builderavoiding the need to create one manually viaDocumentAclGroup.builder().When the
Consumercompletes,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:
-
users
The list of user entries in this condition.
- Parameters:
users- The list of user entries in this condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
The list of user entries in this condition.
- Parameters:
users- The list of user entries in this condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
The list of user entries in this condition.
This is a convenience method that creates an instance of theDocumentAclUser.Builderavoiding the need to create one manually viaDocumentAclUser.builder().When the
Consumercompletes,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:
-