Class SavingsPlanArgs.Builder

  • Enclosing class:
    SavingsPlanArgs

    public static final class SavingsPlanArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • commitment

        public SavingsPlanArgs.Builder commitment​(com.pulumi.core.Output<java.lang.String> commitment)
        Parameters:
        commitment - The hourly commitment, in USD. This is the amount you commit to pay per hour, regardless of actual usage. The following arguments are optional:
        Returns:
        builder
      • commitment

        public SavingsPlanArgs.Builder commitment​(java.lang.String commitment)
        Parameters:
        commitment - The hourly commitment, in USD. This is the amount you commit to pay per hour, regardless of actual usage. The following arguments are optional:
        Returns:
        builder
      • purchaseTime

        public SavingsPlanArgs.Builder purchaseTime​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> purchaseTime)
        Parameters:
        purchaseTime - The time at which to purchase the Savings Plan, in UTC format (`YYYY-MM-DDTHH:MM:SSZ`). If not specified, the plan is purchased immediately. Plans with a future purchase time are placed in `queued` state and can be deleted before they become active.
        Returns:
        builder
      • purchaseTime

        public SavingsPlanArgs.Builder purchaseTime​(java.lang.String purchaseTime)
        Parameters:
        purchaseTime - The time at which to purchase the Savings Plan, in UTC format (`YYYY-MM-DDTHH:MM:SSZ`). If not specified, the plan is purchased immediately. Plans with a future purchase time are placed in `queued` state and can be deleted before they become active.
        Returns:
        builder
      • savingsPlanOfferingId

        public SavingsPlanArgs.Builder savingsPlanOfferingId​(com.pulumi.core.Output<java.lang.String> savingsPlanOfferingId)
        Parameters:
        savingsPlanOfferingId - The unique ID of a Savings Plan offering. You can find available offerings using the `aws savingsplans describe-savings-plans-offerings` CLI command.
        Returns:
        builder
      • savingsPlanOfferingId

        public SavingsPlanArgs.Builder savingsPlanOfferingId​(java.lang.String savingsPlanOfferingId)
        Parameters:
        savingsPlanOfferingId - The unique ID of a Savings Plan offering. You can find available offerings using the `aws savingsplans describe-savings-plans-offerings` CLI command.
        Returns:
        builder
      • tags

        public SavingsPlanArgs.Builder tags​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public SavingsPlanArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • upfrontPaymentAmount

        public SavingsPlanArgs.Builder upfrontPaymentAmount​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> upfrontPaymentAmount)
        Parameters:
        upfrontPaymentAmount - The up-front payment amount. Required for offerings with an `All Upfront` or `Partial Upfront` payment option. Must be omitted for `No Upfront` offerings.
        Returns:
        builder
      • upfrontPaymentAmount

        public SavingsPlanArgs.Builder upfrontPaymentAmount​(java.lang.String upfrontPaymentAmount)
        Parameters:
        upfrontPaymentAmount - The up-front payment amount. Required for offerings with an `All Upfront` or `Partial Upfront` payment option. Must be omitted for `No Upfront` offerings.
        Returns:
        builder