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 Summary
ConstructorDescriptionCreates an instance of SavingsPlanOrderAliasModelInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the appliedScopeProperties property: Properties specific to applied scope type.Get the appliedScopeType property: Type of the Applied Scope.Get the billingPlan property: Represents the billing plan in ISO 8601 format.Get the billingScopeId property: Subscription that will be charged for purchasing the benefit.Get the commitment property: Commitment towards the benefit.Get the displayName property: Display name.kind()
Get the kind property: Resource provider kind.Get the provisioningState property: Provisioning state.Get the savingsPlanOrderId property: Identifier of the savings plan created.sku()
Get the sku property: Savings plan SKU.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.term()
Get the term property: Represent benefit term in ISO 8601 format.void
validate()
Validates the instance.withAppliedScopeProperties
(AppliedScopeProperties appliedScopeProperties) Set the appliedScopeProperties property: Properties specific to applied scope type.withAppliedScopeType
(AppliedScopeType appliedScopeType) Set the appliedScopeType property: Type of the Applied Scope.withBillingPlan
(BillingPlan billingPlan) Set the billingPlan property: Represents the billing plan in ISO 8601 format.withBillingScopeId
(String billingScopeId) Set the billingScopeId property: Subscription that will be charged for purchasing the benefit.withCommitment
(Commitment commitment) Set the commitment property: Commitment towards the benefit.withDisplayName
(String displayName) Set the displayName property: Display name.Set the kind property: Resource provider kind.Set the sku property: Savings plan SKU.Set the term property: Represent benefit term in ISO 8601 format.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
SavingsPlanOrderAliasModelInner
public SavingsPlanOrderAliasModelInner()Creates an instance of SavingsPlanOrderAliasModelInner class.
-
-
Method Details
-
sku
Get the sku property: Savings plan SKU.- Returns:
- the sku value.
-
withSku
Set the sku property: Savings plan SKU.- Parameters:
sku
- the sku value to set.- Returns:
- the SavingsPlanOrderAliasModelInner object itself.
-
kind
Get the kind property: Resource provider kind.- Returns:
- the kind value.
-
withKind
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
Get the displayName property: Display name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Display name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the SavingsPlanOrderAliasModelInner object itself.
-
savingsPlanOrderId
Get the savingsPlanOrderId property: Identifier of the savings plan created.- Returns:
- the savingsPlanOrderId value.
-
provisioningState
Get the provisioningState property: Provisioning state.- Returns:
- the provisioningState value.
-
billingScopeId
Get the billingScopeId property: Subscription that will be charged for purchasing the benefit.- Returns:
- the billingScopeId value.
-
withBillingScopeId
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
Get the term property: Represent benefit term in ISO 8601 format.- Returns:
- the term value.
-
withTerm
Set the term property: Represent benefit term in ISO 8601 format.- Parameters:
term
- the term value to set.- Returns:
- the SavingsPlanOrderAliasModelInner object itself.
-
billingPlan
Get the billingPlan property: Represents the billing plan in ISO 8601 format. Required only for monthly billing plans.- Returns:
- the billingPlan value.
-
withBillingPlan
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
Get the appliedScopeType property: Type of the Applied Scope.- Returns:
- the appliedScopeType value.
-
withAppliedScopeType
Set the appliedScopeType property: Type of the Applied Scope.- Parameters:
appliedScopeType
- the appliedScopeType value to set.- Returns:
- the SavingsPlanOrderAliasModelInner object itself.
-
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
Get the commitment property: Commitment towards the benefit.- Returns:
- the commitment value.
-
withCommitment
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.
-