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

public final class Operation extends Object
Represents an operation that can be performed on the service.
  • Constructor Details

    • Operation

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

    • name

      public String name()
      Get the name property: The name of the operation.
      Returns:
      the name value.
    • withName

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

      public OperationDetail display()
      Get the display property: The display name of the operation.
      Returns:
      the display value.
    • withDisplay

      public Operation withDisplay(OperationDetail display)
      Set the display property: The display name of the operation.
      Parameters:
      display - the display value to set.
      Returns:
      the Operation object itself.
    • origin

      public String origin()
      Get the origin property: The origin of the operation.
      Returns:
      the origin value.
    • withOrigin

      public Operation withOrigin(String origin)
      Set the origin property: The origin of the operation.
      Parameters:
      origin - the origin value to set.
      Returns:
      the Operation object itself.
    • properties

      public Object properties()
      Get the properties property: The properties of the operation.
      Returns:
      the properties value.
    • withProperties

      public Operation withProperties(Object properties)
      Set the properties property: The properties of the operation.
      Parameters:
      properties - the properties value to set.
      Returns:
      the Operation object itself.
    • validate

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