Interface SavingsPlan.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SavingsPlan.Builder,SavingsPlan>, SdkBuilder<SavingsPlan.Builder,SavingsPlan>, SdkPojo
Enclosing class:
SavingsPlan

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

    • offeringId

      SavingsPlan.Builder offeringId(String offeringId)

      The ID of the offering.

      Parameters:
      offeringId - The ID of the offering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • savingsPlanId

      SavingsPlan.Builder savingsPlanId(String savingsPlanId)

      The ID of the Savings Plan.

      Parameters:
      savingsPlanId - The ID of the Savings Plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • savingsPlanArn

      SavingsPlan.Builder savingsPlanArn(String savingsPlanArn)

      The Amazon Resource Name (ARN) of the Savings Plan.

      Parameters:
      savingsPlanArn - The Amazon Resource Name (ARN) of the Savings Plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      SavingsPlan.Builder description(String description)

      The description.

      Parameters:
      description - The description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • start

      The start time.

      Parameters:
      start - The start time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • end

      The end time.

      Parameters:
      end - The end time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The current state.

      Parameters:
      state - The current state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The current state.

      Parameters:
      state - The current state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • region

      SavingsPlan.Builder region(String region)

      The Amazon Web Services Region.

      Parameters:
      region - The Amazon Web Services Region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ec2InstanceFamily

      SavingsPlan.Builder ec2InstanceFamily(String ec2InstanceFamily)

      The EC2 instance family.

      Parameters:
      ec2InstanceFamily - The EC2 instance family.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • savingsPlanType

      SavingsPlan.Builder savingsPlanType(String savingsPlanType)

      The plan type.

      Parameters:
      savingsPlanType - The plan type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • savingsPlanType

      SavingsPlan.Builder savingsPlanType(SavingsPlanType savingsPlanType)

      The plan type.

      Parameters:
      savingsPlanType - The plan type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • paymentOption

      SavingsPlan.Builder paymentOption(String paymentOption)

      The payment option.

      Parameters:
      paymentOption - The payment option.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • paymentOption

      SavingsPlan.Builder paymentOption(SavingsPlanPaymentOption paymentOption)

      The payment option.

      Parameters:
      paymentOption - The payment option.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • productTypesWithStrings

      SavingsPlan.Builder productTypesWithStrings(Collection<String> productTypes)

      The product types.

      Parameters:
      productTypes - The product types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • productTypesWithStrings

      SavingsPlan.Builder productTypesWithStrings(String... productTypes)

      The product types.

      Parameters:
      productTypes - The product types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • productTypes

      The product types.

      Parameters:
      productTypes - The product types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • productTypes

      SavingsPlan.Builder productTypes(SavingsPlanProductType... productTypes)

      The product types.

      Parameters:
      productTypes - The product types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currency

      SavingsPlan.Builder currency(String currency)

      The currency.

      Parameters:
      currency - The currency.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • currency

      SavingsPlan.Builder currency(CurrencyCode currency)

      The currency.

      Parameters:
      currency - The currency.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • commitment

      SavingsPlan.Builder commitment(String commitment)

      The hourly commitment amount in the specified currency.

      Parameters:
      commitment - The hourly commitment amount in the specified currency.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • upfrontPaymentAmount

      SavingsPlan.Builder upfrontPaymentAmount(String upfrontPaymentAmount)

      The up-front payment amount.

      Parameters:
      upfrontPaymentAmount - The up-front payment amount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recurringPaymentAmount

      SavingsPlan.Builder recurringPaymentAmount(String recurringPaymentAmount)

      The recurring payment amount.

      Parameters:
      recurringPaymentAmount - The recurring payment amount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • termDurationInSeconds

      SavingsPlan.Builder termDurationInSeconds(Long termDurationInSeconds)

      The duration of the term, in seconds.

      Parameters:
      termDurationInSeconds - The duration of the term, in seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      One or more tags.

      Parameters:
      tags - One or more tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • returnableUntil

      SavingsPlan.Builder returnableUntil(String returnableUntil)

      The time until when a return for the Savings Plan can be requested. If the Savings Plan is not returnable, the field reflects the Savings Plan start time.

      Parameters:
      returnableUntil - The time until when a return for the Savings Plan can be requested. If the Savings Plan is not returnable, the field reflects the Savings Plan start time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.