Class StoragePoolOperationDisplay

java.lang.Object
com.azure.resourcemanager.storagepool.models.StoragePoolOperationDisplay

public final class StoragePoolOperationDisplay extends Object
Metadata about an operation.
  • Constructor Details

    • StoragePoolOperationDisplay

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

    • provider

      public String provider()
      Get the provider property: Localized friendly form of the resource provider name.
      Returns:
      the provider value.
    • withProvider

      public StoragePoolOperationDisplay withProvider(String provider)
      Set the provider property: Localized friendly form of the resource provider name.
      Parameters:
      provider - the provider value to set.
      Returns:
      the StoragePoolOperationDisplay object itself.
    • resource

      public String resource()
      Get the resource property: Localized friendly form of the resource type related to this action/operation.
      Returns:
      the resource value.
    • withResource

      public StoragePoolOperationDisplay withResource(String resource)
      Set the resource property: Localized friendly form of the resource type related to this action/operation.
      Parameters:
      resource - the resource value to set.
      Returns:
      the StoragePoolOperationDisplay object itself.
    • operation

      public String operation()
      Get the operation property: Localized friendly name for the operation, as it should be shown to the user.
      Returns:
      the operation value.
    • withOperation

      public StoragePoolOperationDisplay withOperation(String operation)
      Set the operation property: Localized friendly name for the operation, as it should be shown to the user.
      Parameters:
      operation - the operation value to set.
      Returns:
      the StoragePoolOperationDisplay object itself.
    • description

      public String description()
      Get the description property: Localized friendly description for the operation, as it should be shown to the user.
      Returns:
      the description value.
    • withDescription

      public StoragePoolOperationDisplay withDescription(String description)
      Set the description property: Localized friendly description for the operation, as it should be shown to the user.
      Parameters:
      description - the description value to set.
      Returns:
      the StoragePoolOperationDisplay object itself.
    • validate

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