Class SavingsPlanOrderAliasProperties

java.lang.Object
com.azure.resourcemanager.billingbenefits.fluent.models.SavingsPlanOrderAliasProperties

public final class SavingsPlanOrderAliasProperties extends Object
Savings plan properties.
  • Constructor Details

    • SavingsPlanOrderAliasProperties

      public SavingsPlanOrderAliasProperties()
      Creates an instance of SavingsPlanOrderAliasProperties class.
  • Method Details

    • displayName

      public String displayName()
      Get the displayName property: Display name.
      Returns:
      the displayName value.
    • withDisplayName

      public SavingsPlanOrderAliasProperties withDisplayName(String displayName)
      Set the displayName property: Display name.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the SavingsPlanOrderAliasProperties object itself.
    • savingsPlanOrderId

      public String savingsPlanOrderId()
      Get the savingsPlanOrderId property: Identifier of the savings plan created.
      Returns:
      the savingsPlanOrderId value.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state.
      Returns:
      the provisioningState value.
    • billingScopeId

      public String billingScopeId()
      Get the billingScopeId property: Subscription that will be charged for purchasing the benefit.
      Returns:
      the billingScopeId value.
    • withBillingScopeId

      public SavingsPlanOrderAliasProperties withBillingScopeId(String billingScopeId)
      Set the billingScopeId property: Subscription that will be charged for purchasing the benefit.
      Parameters:
      billingScopeId - the billingScopeId value to set.
      Returns:
      the SavingsPlanOrderAliasProperties object itself.
    • term

      public Term term()
      Get the term property: Represent benefit term in ISO 8601 format.
      Returns:
      the term value.
    • withTerm

      public SavingsPlanOrderAliasProperties withTerm(Term term)
      Set the term property: Represent benefit term in ISO 8601 format.
      Parameters:
      term - the term value to set.
      Returns:
      the SavingsPlanOrderAliasProperties object itself.
    • billingPlan

      public BillingPlan billingPlan()
      Get the billingPlan property: Represents the billing plan in ISO 8601 format. Required only for monthly billing plans.
      Returns:
      the billingPlan value.
    • withBillingPlan

      public SavingsPlanOrderAliasProperties withBillingPlan(BillingPlan billingPlan)
      Set the billingPlan property: Represents the billing plan in ISO 8601 format. Required only for monthly billing plans.
      Parameters:
      billingPlan - the billingPlan value to set.
      Returns:
      the SavingsPlanOrderAliasProperties object itself.
    • appliedScopeType

      public AppliedScopeType appliedScopeType()
      Get the appliedScopeType property: Type of the Applied Scope.
      Returns:
      the appliedScopeType value.
    • withAppliedScopeType

      public SavingsPlanOrderAliasProperties withAppliedScopeType(AppliedScopeType appliedScopeType)
      Set the appliedScopeType property: Type of the Applied Scope.
      Parameters:
      appliedScopeType - the appliedScopeType value to set.
      Returns:
      the SavingsPlanOrderAliasProperties object itself.
    • appliedScopeProperties

      public AppliedScopeProperties appliedScopeProperties()
      Get the appliedScopeProperties property: Properties specific to applied scope type. Not required if not applicable.
      Returns:
      the appliedScopeProperties value.
    • withAppliedScopeProperties

      public SavingsPlanOrderAliasProperties withAppliedScopeProperties(AppliedScopeProperties appliedScopeProperties)
      Set the appliedScopeProperties property: Properties specific to applied scope type. Not required if not applicable.
      Parameters:
      appliedScopeProperties - the appliedScopeProperties value to set.
      Returns:
      the SavingsPlanOrderAliasProperties object itself.
    • commitment

      public Commitment commitment()
      Get the commitment property: Commitment towards the benefit.
      Returns:
      the commitment value.
    • withCommitment

      public SavingsPlanOrderAliasProperties withCommitment(Commitment commitment)
      Set the commitment property: Commitment towards the benefit.
      Parameters:
      commitment - the commitment value to set.
      Returns:
      the SavingsPlanOrderAliasProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.