Class ApiOperationInner

java.lang.Object
com.azure.resourcemanager.storagecache.fluent.models.ApiOperationInner

public final class ApiOperationInner extends Object
REST API operation description: see https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/openapi-authoring-automated-guidelines.md#r3023-operationsapiimplementation.
  • Constructor Details

    • ApiOperationInner

      public ApiOperationInner()
  • Method Details

    • display

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

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

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

      public ApiOperationInner withOrigin(String origin)
      Set the origin property: Origin of the operation.
      Parameters:
      origin - the origin value to set.
      Returns:
      the ApiOperationInner object itself.
    • isDataAction

      public Boolean isDataAction()
      Get the isDataAction property: The flag that indicates whether the operation applies to data plane.
      Returns:
      the isDataAction value.
    • withIsDataAction

      public ApiOperationInner withIsDataAction(Boolean isDataAction)
      Set the isDataAction property: The flag that indicates whether the operation applies to data plane.
      Parameters:
      isDataAction - the isDataAction value to set.
      Returns:
      the ApiOperationInner object itself.
    • name

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

      public ApiOperationInner withName(String name)
      Set the name property: Operation name: {provider}/{resource}/{operation}.
      Parameters:
      name - the name value to set.
      Returns:
      the ApiOperationInner object itself.
    • serviceSpecification

      public ApiOperationPropertiesServiceSpecification serviceSpecification()
      Get the serviceSpecification property: Specification of the all the metrics provided for a resource type.
      Returns:
      the serviceSpecification value.
    • withServiceSpecification

      public ApiOperationInner withServiceSpecification(ApiOperationPropertiesServiceSpecification serviceSpecification)
      Set the serviceSpecification property: Specification of the all the metrics provided for a resource type.
      Parameters:
      serviceSpecification - the serviceSpecification value to set.
      Returns:
      the ApiOperationInner object itself.
    • validate

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