java.lang.Object
com.azure.resourcemanager.dynatrace.models.PlanData

public final class PlanData extends Object
Billing plan information.
  • Constructor Details

    • PlanData

      public PlanData()
  • Method Details

    • usageType

      public String usageType()
      Get the usageType property: different usage type like PAYG/COMMITTED. this could be enum.
      Returns:
      the usageType value.
    • withUsageType

      public PlanData withUsageType(String usageType)
      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

      public String billingCycle()
      Get the billingCycle property: different billing cycles like MONTHLY/WEEKLY. this could be enum.
      Returns:
      the billingCycle value.
    • withBillingCycle

      public PlanData withBillingCycle(String billingCycle)
      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

      public String planDetails()
      Get the planDetails property: plan id as published by Dynatrace.
      Returns:
      the planDetails value.
    • withPlanDetails

      public PlanData withPlanDetails(String planDetails)
      Set the planDetails property: plan id as published by Dynatrace.
      Parameters:
      planDetails - the planDetails value to set.
      Returns:
      the PlanData object itself.
    • effectiveDate

      public OffsetDateTime effectiveDate()
      Get the effectiveDate property: date when plan was applied.
      Returns:
      the effectiveDate value.
    • withEffectiveDate

      public PlanData withEffectiveDate(OffsetDateTime effectiveDate)
      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.