Class PivotProperties

java.lang.Object
com.azure.resourcemanager.costmanagement.models.PivotProperties

public final class PivotProperties extends Object
Each pivot must contain a 'type' and 'name'.
  • Constructor Details

    • PivotProperties

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

    • type

      public PivotType type()
      Get the type property: Data type to show in view.
      Returns:
      the type value.
    • withType

      public PivotProperties withType(PivotType type)
      Set the type property: Data type to show in view.
      Parameters:
      type - the type value to set.
      Returns:
      the PivotProperties object itself.
    • name

      public String name()
      Get the name property: Data field to show in view.
      Returns:
      the name value.
    • withName

      public PivotProperties withName(String name)
      Set the name property: Data field to show in view.
      Parameters:
      name - the name value to set.
      Returns:
      the PivotProperties object itself.
    • validate

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