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: