Interface UpdateSubscriptionRequest.Builder

  • Method Details

    • arn

      The ARN of the subscription to update.

      Parameters:
      arn - The ARN of the subscription to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • planTier

      The new tier level for the subscription.

      Parameters:
      planTier - The new tier level for the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • usageLevel

      UpdateSubscriptionRequest.Builder usageLevel(String usageLevel)

      The usage level within the plan tier. Specify DEFAULT for the base configuration. If omitted, the usage level is reset to the default.

      Parameters:
      usageLevel - The usage level within the plan tier. Specify DEFAULT for the base configuration. If omitted, the usage level is reset to the default.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ifMatch

      The ETag value from a previous GetSubscription or ListSubscriptions response. This ensures you are updating the expected version of the subscription.

      Parameters:
      ifMatch - The ETag value from a previous GetSubscription or ListSubscriptions response. This ensures you are updating the expected version of the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      UpdateSubscriptionRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to ensure the request is handled only once.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure the request is handled only once.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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