Interface CustomPermissions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomPermissions.Builder,
,CustomPermissions> SdkBuilder<CustomPermissions.Builder,
,CustomPermissions> SdkPojo
- Enclosing class:
CustomPermissions
@Mutable
@NotThreadSafe
public static interface CustomPermissions.Builder
extends SdkPojo, CopyableBuilder<CustomPermissions.Builder,CustomPermissions>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the custom permissions profile.default CustomPermissions.Builder
capabilities
(Consumer<Capabilities.Builder> capabilities) A set of actions in the custom permissions profile.capabilities
(Capabilities capabilities) A set of actions in the custom permissions profile.customPermissionsName
(String customPermissionsName) The name of the custom permissions profile.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, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the custom permissions profile.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the custom permissions profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customPermissionsName
The name of the custom permissions profile.
- Parameters:
customPermissionsName
- The name of the custom permissions profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
A set of actions in the custom permissions profile.
- Parameters:
capabilities
- A set of actions in the custom permissions profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
A set of actions in the custom permissions profile.
This is a convenience method that creates an instance of theCapabilities.Builder
avoiding the need to create one manually viaCapabilities.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapabilities(Capabilities)
.- Parameters:
capabilities
- a consumer that will call methods onCapabilities.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-