Interface CustomPermissions.Builder

  • 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

      CustomPermissions.Builder customPermissionsName(String 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

      CustomPermissions.Builder capabilities(Capabilities 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

      default CustomPermissions.Builder capabilities(Consumer<Capabilities.Builder> capabilities)

      A set of actions in the custom permissions profile.

      This is a convenience method that creates an instance of the Capabilities.Builder avoiding the need to create one manually via Capabilities.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to capabilities(Capabilities).

      Parameters:
      capabilities - a consumer that will call methods on Capabilities.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • governance

      CustomPermissions.Builder governance(Governance 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 ALLOW in Capabilities.

      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 to ALLOW in Capabilities.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • governance

      default CustomPermissions.Builder governance(Consumer<Governance.Builder> 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 ALLOW in Capabilities.

      This is a convenience method that creates an instance of the Governance.Builder avoiding the need to create one manually via Governance.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to governance(Governance).

      Parameters:
      governance - a consumer that will call methods on Governance.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: