Interface DocumentAclMembership.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DocumentAclMembership.Builder,,DocumentAclMembership> SdkBuilder<DocumentAclMembership.Builder,,DocumentAclMembership> SdkPojo
- Enclosing class:
DocumentAclMembership
@Mutable
@NotThreadSafe
public static interface DocumentAclMembership.Builder
extends SdkPojo, CopyableBuilder<DocumentAclMembership.Builder,DocumentAclMembership>
-
Method Summary
Modifier and TypeMethodDescriptionconditions(Collection<DocumentAclCondition> conditions) The list of conditions that determine membership.conditions(Consumer<DocumentAclCondition.Builder>... conditions) The list of conditions that determine membership.conditions(DocumentAclCondition... conditions) The list of conditions that determine membership.memberRelation(String memberRelation) The logical relation between conditions.memberRelation(DocumentAclMemberRelation memberRelation) The logical relation between conditions.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
-
conditions
The list of conditions that determine membership.
- Parameters:
conditions- The list of conditions that determine membership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The list of conditions that determine membership.
- Parameters:
conditions- The list of conditions that determine membership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The list of conditions that determine membership.
This is a convenience method that creates an instance of theDocumentAclCondition.Builderavoiding the need to create one manually viaDocumentAclCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconditions(List<DocumentAclCondition>).- Parameters:
conditions- a consumer that will call methods onDocumentAclCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
memberRelation
The logical relation between conditions. Valid values:
AND– All conditions must match.OR– At least one condition must match.- Parameters:
memberRelation- The logical relation between conditions. Valid values:AND– All conditions must match.OR– At least one condition must match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
memberRelation
The logical relation between conditions. Valid values:
AND– All conditions must match.OR– At least one condition must match.- Parameters:
memberRelation- The logical relation between conditions. Valid values:AND– All conditions must match.OR– At least one condition must match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-