java.lang.Object
com.azure.resourcemanager.digitaltwins.fluent.models.OperationInner

public final class OperationInner extends Object
DigitalTwins service REST API operation.
  • Constructor Details

    • OperationInner

      public OperationInner()
  • Method Details

    • name

      public String name()
      Get the name property: Operation name: {provider}/{resource}/{read | write | action | delete}.
      Returns:
      the name value.
    • display

      public OperationDisplay display()
      Get the display property: Operation properties display.
      Returns:
      the display value.
    • withDisplay

      public OperationInner withDisplay(OperationDisplay display)
      Set the display property: Operation properties display.
      Parameters:
      display - the display value to set.
      Returns:
      the OperationInner object itself.
    • origin

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

      public Boolean isDataAction()
      Get the isDataAction property: If the operation is a data action (for data plane rbac).
      Returns:
      the isDataAction value.
    • properties

      public Map<String,Object> properties()
      Get the properties property: Operation properties.
      Returns:
      the properties value.
    • validate

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