Class SavingsPlanOrderAliasModelInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.billingbenefits.fluent.models.SavingsPlanOrderAliasModelInner

public final class SavingsPlanOrderAliasModelInner extends com.azure.core.management.ProxyResource
Savings plan order alias.
  • Constructor Details

    • SavingsPlanOrderAliasModelInner

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

    • sku

      public Sku sku()
      Get the sku property: Savings plan SKU.
      Returns:
      the sku value.
    • withSku

      public SavingsPlanOrderAliasModelInner withSku(Sku sku)
      Set the sku property: Savings plan SKU.
      Parameters:
      sku - the sku value to set.
      Returns:
      the SavingsPlanOrderAliasModelInner object itself.
    • kind

      public String kind()
      Get the kind property: Resource provider kind.
      Returns:
      the kind value.
    • withKind

      public SavingsPlanOrderAliasModelInner withKind(String kind)
      Set the kind property: Resource provider kind.
      Parameters:
      kind - the kind value to set.
      Returns:
      the SavingsPlanOrderAliasModelInner object itself.
    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • displayName

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

      public SavingsPlanOrderAliasModelInner withDisplayName(String displayName)
      Set the displayName property: Display name.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the SavingsPlanOrderAliasModelInner 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 SavingsPlanOrderAliasModelInner 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 SavingsPlanOrderAliasModelInner object itself.
    • term

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

      public SavingsPlanOrderAliasModelInner withTerm(Term term)
      Set the term property: Represent benefit term in ISO 8601 format.
      Parameters:
      term - the term value to set.
      Returns:
      the SavingsPlanOrderAliasModelInner 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 SavingsPlanOrderAliasModelInner 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 SavingsPlanOrderAliasModelInner object itself.
    • appliedScopeType

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

      public SavingsPlanOrderAliasModelInner withAppliedScopeType(AppliedScopeType appliedScopeType)
      Set the appliedScopeType property: Type of the Applied Scope.
      Parameters:
      appliedScopeType - the appliedScopeType value to set.
      Returns:
      the SavingsPlanOrderAliasModelInner 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 SavingsPlanOrderAliasModelInner 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 SavingsPlanOrderAliasModelInner object itself.
    • commitment

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

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

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