Class OperationInner

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

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

    • OperationInner

      public OperationInner()
  • Method Details

    • name

      public String name()
      Get the name property: Operation name: {provider}/{resource}/{operation}.
      Returns:
      the name value.
    • isDataAction

      public Boolean isDataAction()
      Get the isDataAction property: Indicates whether the operation is a data action.
      Returns:
      the isDataAction value.
    • withIsDataAction

      public OperationInner withIsDataAction(Boolean isDataAction)
      Set the isDataAction property: Indicates whether the operation is a data action.
      Parameters:
      isDataAction - the isDataAction value to set.
      Returns:
      the OperationInner object itself.
    • display

      public OperationDisplay display()
      Get the display property: The object that represents the operation.
      Returns:
      the display value.
    • withDisplay

      public OperationInner withDisplay(OperationDisplay display)
      Set the display property: The object that represents the operation.
      Parameters:
      display - the display value to set.
      Returns:
      the OperationInner object itself.
    • origin

      public String origin()
      Get the origin property: The origin of operations.
      Returns:
      the origin value.
    • serviceSpecification

      public ServiceSpecification serviceSpecification()
      Get the serviceSpecification property: One property of operation, include metric specifications.
      Returns:
      the serviceSpecification value.
    • withServiceSpecification

      public OperationInner withServiceSpecification(ServiceSpecification serviceSpecification)
      Set the serviceSpecification property: One property of operation, include metric specifications.
      Parameters:
      serviceSpecification - the serviceSpecification value to set.
      Returns:
      the OperationInner object itself.
    • validate

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