Class OperationDisplay


  • public final class OperationDisplay
    extends Object
    The object that represents the operation.
    • Constructor Detail

      • OperationDisplay

        public OperationDisplay()
    • Method Detail

      • provider

        public String provider()
        Get the provider property: Service provider: Microsoft.Consumption.
        Returns:
        the provider value.
      • resource

        public String resource()
        Get the resource property: Resource on which the operation is performed: UsageDetail, etc.
        Returns:
        the resource value.
      • operation

        public String operation()
        Get the operation property: Operation type: Read, write, delete, etc.
        Returns:
        the operation value.
      • description

        public String description()
        Get the description property: Description of the operation.
        Returns:
        the description value.
      • validate

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