Interface CreateUsageLimitRequest.Builder

  • Method Details

    • amount

      The limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.

      Parameters:
      amount - The limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • breachAction

      CreateUsageLimitRequest.Builder breachAction(String breachAction)

      The action that Amazon Redshift Serverless takes when the limit is reached. The default is log.

      Parameters:
      breachAction - The action that Amazon Redshift Serverless takes when the limit is reached. The default is log.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • breachAction

      The action that Amazon Redshift Serverless takes when the limit is reached. The default is log.

      Parameters:
      breachAction - The action that Amazon Redshift Serverless takes when the limit is reached. The default is log.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • period

      The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

      Parameters:
      period - The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • period

      The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

      Parameters:
      period - The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceArn

      CreateUsageLimitRequest.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • usageType

      The type of Amazon Redshift Serverless usage to create a usage limit for.

      Parameters:
      usageType - The type of Amazon Redshift Serverless usage to create a usage limit for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • usageType

      The type of Amazon Redshift Serverless usage to create a usage limit for.

      Parameters:
      usageType - The type of Amazon Redshift Serverless usage to create a usage limit for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateUsageLimitRequest.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.