Interface CustomPermissions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CustomPermissions.Builder,,CustomPermissions> SdkBuilder<CustomPermissions.Builder,,CustomPermissions> SdkPojo
- Enclosing class:
CustomPermissions
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the custom permissions profile.default CustomPermissions.Buildercapabilities(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.default CustomPermissions.Buildergovernance(Consumer<Governance.Builder> governance) The governance configuration for the custom permissions profile.governance(Governance governance) The governance configuration for the custom permissions profile.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
-
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.Builderavoiding the need to create one manually viaCapabilities.builder().When the
Consumercompletes,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:
-
governance
The governance configuration for the custom permissions profile. When you enable governance for a category, Amazon Quick denies access to any current or new capability in that category unless you explicitly set that capability to
ALLOWinCapabilities.- Parameters:
governance- The governance configuration for the custom permissions profile. When you enable governance for a category, Amazon Quick denies access to any current or new capability in that category unless you explicitly set that capability toALLOWinCapabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
governance
The governance configuration for the custom permissions profile. When you enable governance for a category, Amazon Quick denies access to any current or new capability in that category unless you explicitly set that capability to
This is a convenience method that creates an instance of theALLOWinCapabilities.Governance.Builderavoiding the need to create one manually viaGovernance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togovernance(Governance).- Parameters:
governance- a consumer that will call methods onGovernance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-