Interface CreateWorkspaceRequest.Builder

All Superinterfaces:
AmpRequest.Builder, AwsRequest.Builder, Buildable, CopyableBuilder<CreateWorkspaceRequest.Builder,CreateWorkspaceRequest>, SdkBuilder<CreateWorkspaceRequest.Builder,CreateWorkspaceRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateWorkspaceRequest

public static interface CreateWorkspaceRequest.Builder extends AmpRequest.Builder, SdkPojo, CopyableBuilder<CreateWorkspaceRequest.Builder,CreateWorkspaceRequest>
  • Method Details

    • alias

      An alias that you assign to this workspace to help you identify it. It does not need to be unique.

      Blank spaces at the beginning or end of the alias that you specify will be trimmed from the value used.

      Parameters:
      alias - An alias that you assign to this workspace to help you identify it. It does not need to be unique.

      Blank spaces at the beginning or end of the alias that you specify will be trimmed from the value used.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      CreateWorkspaceRequest.Builder clientToken(String clientToken)

      A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.

      Parameters:
      clientToken - A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeyArn

      CreateWorkspaceRequest.Builder kmsKeyArn(String kmsKeyArn)

      (optional) The ARN for a customer managed KMS key to use for encrypting data within your workspace. For more information about using your own key in your workspace, see Encryption at rest in the Amazon Managed Service for Prometheus User Guide.

      Parameters:
      kmsKeyArn - (optional) The ARN for a customer managed KMS key to use for encrypting data within your workspace. For more information about using your own key in your workspace, see Encryption at rest in the Amazon Managed Service for Prometheus User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The list of tag keys and values to associate with the workspace.

      Parameters:
      tags - The list of tag keys and values to associate with the workspace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateWorkspaceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.