Interface ScopedActions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ScopedActions.Builder,,ScopedActions> SdkBuilder<ScopedActions.Builder,,ScopedActions> SdkPojo
- Enclosing class:
ScopedActions
@Mutable
@NotThreadSafe
public static interface ScopedActions.Builder
extends SdkPojo, CopyableBuilder<ScopedActions.Builder,ScopedActions>
-
Method Summary
Modifier and TypeMethodDescriptionThe actions this group applies to.actions(Collection<String> actions) The actions this group applies to.contextConditions(Map<String, ? extends Collection<String>> contextConditions) Optional context conditions for fine-grained access control on these actions.resources(Collection<ResourceScope> resources) Optional resource scopes constraining these actions to specific resources.resources(Consumer<ResourceScope.Builder>... resources) Optional resource scopes constraining these actions to specific resources.resources(ResourceScope... resources) Optional resource scopes constraining these actions to specific resources.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
-
actions
The actions this group applies to.
- Parameters:
actions- The actions this group applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The actions this group applies to.
- Parameters:
actions- The actions this group applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Optional resource scopes constraining these actions to specific resources.
- Parameters:
resources- Optional resource scopes constraining these actions to specific resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Optional resource scopes constraining these actions to specific resources.
- Parameters:
resources- Optional resource scopes constraining these actions to specific resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Optional resource scopes constraining these actions to specific resources.
This is a convenience method that creates an instance of theResourceScope.Builderavoiding the need to create one manually viaResourceScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresources(List<ResourceScope>).- Parameters:
resources- a consumer that will call methods onResourceScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contextConditions
Optional context conditions for fine-grained access control on these actions.
- Parameters:
contextConditions- Optional context conditions for fine-grained access control on these actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-