Class PivotProperties
java.lang.Object
com.azure.resourcemanager.costmanagement.models.PivotProperties
Each pivot must contain a 'type' and 'name'.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PivotProperties
public PivotProperties()Creates an instance of PivotProperties class.
-
-
Method Details
-
type
Get the type property: Data type to show in view.- Returns:
- the type value.
-
withType
Set the type property: Data type to show in view.- Parameters:
type
- the type value to set.- Returns:
- the PivotProperties object itself.
-
name
Get the name property: Data field to show in view.- Returns:
- the name value.
-
withName
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.
-