Class OperationPropertiesDefinition


  • public final class OperationPropertiesDefinition
    extends Object
    The definition of Azure Monitoring properties.
    • Constructor Detail

      • OperationPropertiesDefinition

        public OperationPropertiesDefinition()
    • Method Detail

      • serviceSpecification

        public OperationServiceSpecificationDefinition serviceSpecification()
        Get the serviceSpecification property: The definition of Azure Monitoring service.
        Returns:
        the serviceSpecification value.
      • withServiceSpecification

        public OperationPropertiesDefinition withServiceSpecification​(OperationServiceSpecificationDefinition serviceSpecification)
        Set the serviceSpecification property: The definition of Azure Monitoring service.
        Parameters:
        serviceSpecification - the serviceSpecification value to set.
        Returns:
        the OperationPropertiesDefinition object itself.
      • validate

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