Interface AccessControl.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AccessControl.Builder,AccessControl>,SdkBuilder<AccessControl.Builder,AccessControl>,SdkPojo
- Enclosing class:
- AccessControl
public static interface AccessControl.Builder extends SdkPojo, CopyableBuilder<AccessControl.Builder,AccessControl>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessControl.BuildermemberRelation(String memberRelation)Describes the member relation within a principal list.AccessControl.BuildermemberRelation(MemberRelation memberRelation)Describes the member relation within a principal list.AccessControl.Builderprincipals(Collection<Principal> principals)Contains a list of principals, where a principal can be either aUSERor aGROUP.AccessControl.Builderprincipals(Consumer<Principal.Builder>... principals)Contains a list of principals, where a principal can be either aUSERor aGROUP.AccessControl.Builderprincipals(Principal... principals)Contains a list of principals, where a principal can be either aUSERor aGROUP.-
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, sdkFields
-
-
-
-
Method Detail
-
memberRelation
AccessControl.Builder memberRelation(String memberRelation)
Describes the member relation within a principal list.
- Parameters:
memberRelation- Describes the member relation within a principal list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MemberRelation,MemberRelation
-
memberRelation
AccessControl.Builder memberRelation(MemberRelation memberRelation)
Describes the member relation within a principal list.
- Parameters:
memberRelation- Describes the member relation within a principal list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MemberRelation,MemberRelation
-
principals
AccessControl.Builder principals(Collection<Principal> principals)
Contains a list of principals, where a principal can be either a
USERor aGROUP. Each principal can be have the following type of document access:ALLOWorDENY.- Parameters:
principals- Contains a list of principals, where a principal can be either aUSERor aGROUP. Each principal can be have the following type of document access:ALLOWorDENY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
AccessControl.Builder principals(Principal... principals)
Contains a list of principals, where a principal can be either a
USERor aGROUP. Each principal can be have the following type of document access:ALLOWorDENY.- Parameters:
principals- Contains a list of principals, where a principal can be either aUSERor aGROUP. Each principal can be have the following type of document access:ALLOWorDENY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
AccessControl.Builder principals(Consumer<Principal.Builder>... principals)
Contains a list of principals, where a principal can be either a
This is a convenience method that creates an instance of theUSERor aGROUP. Each principal can be have the following type of document access:ALLOWorDENY.Principal.Builderavoiding the need to create one manually viaPrincipal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#principals(List.) - Parameters:
principals- a consumer that will call methods onPrincipal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#principals(java.util.Collection)
-
-