Class PlanData
java.lang.Object
com.azure.resourcemanager.logz.models.PlanData
The PlanData model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the billingCycle property: different billing cycles like MONTHLY/WEEKLY.Get the effectiveDate property: date when plan was applied.Get the planDetails property: plan id as published by Logz.Get the usageType property: different usage type like PAYG/COMMITTED.void
validate()
Validates the instance.withBillingCycle
(String billingCycle) Set the billingCycle property: different billing cycles like MONTHLY/WEEKLY.withEffectiveDate
(OffsetDateTime effectiveDate) Set the effectiveDate property: date when plan was applied.withPlanDetails
(String planDetails) Set the planDetails property: plan id as published by Logz.withUsageType
(String usageType) Set the usageType property: different usage type like PAYG/COMMITTED.
-
Constructor Details
-
PlanData
public PlanData()Creates an instance of PlanData class.
-
-
Method Details
-
usageType
Get the usageType property: different usage type like PAYG/COMMITTED. this could be enum.- Returns:
- the usageType value.
-
withUsageType
Set the usageType property: different usage type like PAYG/COMMITTED. this could be enum.- Parameters:
usageType
- the usageType value to set.- Returns:
- the PlanData object itself.
-
billingCycle
Get the billingCycle property: different billing cycles like MONTHLY/WEEKLY. this could be enum.- Returns:
- the billingCycle value.
-
withBillingCycle
Set the billingCycle property: different billing cycles like MONTHLY/WEEKLY. this could be enum.- Parameters:
billingCycle
- the billingCycle value to set.- Returns:
- the PlanData object itself.
-
planDetails
Get the planDetails property: plan id as published by Logz.- Returns:
- the planDetails value.
-
withPlanDetails
Set the planDetails property: plan id as published by Logz.- Parameters:
planDetails
- the planDetails value to set.- Returns:
- the PlanData object itself.
-
effectiveDate
Get the effectiveDate property: date when plan was applied.- Returns:
- the effectiveDate value.
-
withEffectiveDate
Set the effectiveDate property: date when plan was applied.- Parameters:
effectiveDate
- the effectiveDate value to set.- Returns:
- the PlanData object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-