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
Modifier and TypeMethodDescriptionmemberRelation(String memberRelation) Describes the member relation within a principal list.memberRelation(MemberRelation memberRelation) Describes the member relation within a principal list.principals(Collection<Principal> principals) Contains a list of principals, where a principal can be either aUSERor aGROUP.principals(Consumer<Principal.Builder>... principals) Contains a list of principals, where a principal can be either aUSERor aGROUP.principals(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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 toprincipals(List<Principal>).- 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:
-
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
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:
-