java.lang.Object
com.azure.resourcemanager.policyinsights.models.Operation

public final class Operation extends Object
Operation definition.
  • Constructor Details

    • Operation

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

    • name

      public String name()
      Get the name property: Operation name.
      Returns:
      the name value.
    • withName

      public Operation withName(String name)
      Set the name property: Operation name.
      Parameters:
      name - the name value to set.
      Returns:
      the Operation object itself.
    • display

      public OperationDisplay display()
      Get the display property: Display metadata associated with the operation.
      Returns:
      the display value.
    • withDisplay

      public Operation withDisplay(OperationDisplay display)
      Set the display property: Display metadata associated with the operation.
      Parameters:
      display - the display value to set.
      Returns:
      the Operation object itself.
    • validate

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