Class StoragePoolRPOperationInner

java.lang.Object
com.azure.resourcemanager.storagepool.fluent.models.StoragePoolRPOperationInner

public final class StoragePoolRPOperationInner extends Object
Description of a StoragePool RP Operation.
  • Constructor Details

    • StoragePoolRPOperationInner

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

    • name

      public String name()
      Get the name property: The name of the operation being performed on this particular object.
      Returns:
      the name value.
    • withName

      public StoragePoolRPOperationInner withName(String name)
      Set the name property: The name of the operation being performed on this particular object.
      Parameters:
      name - the name value to set.
      Returns:
      the StoragePoolRPOperationInner object itself.
    • isDataAction

      public boolean isDataAction()
      Get the isDataAction property: Indicates whether the operation applies to data-plane.
      Returns:
      the isDataAction value.
    • withIsDataAction

      public StoragePoolRPOperationInner withIsDataAction(boolean isDataAction)
      Set the isDataAction property: Indicates whether the operation applies to data-plane.
      Parameters:
      isDataAction - the isDataAction value to set.
      Returns:
      the StoragePoolRPOperationInner object itself.
    • actionType

      public String actionType()
      Get the actionType property: Indicates the action type.
      Returns:
      the actionType value.
    • withActionType

      public StoragePoolRPOperationInner withActionType(String actionType)
      Set the actionType property: Indicates the action type.
      Parameters:
      actionType - the actionType value to set.
      Returns:
      the StoragePoolRPOperationInner object itself.
    • display

      public StoragePoolOperationDisplay display()
      Get the display property: Additional metadata about RP operation.
      Returns:
      the display value.
    • withDisplay

      Set the display property: Additional metadata about RP operation.
      Parameters:
      display - the display value to set.
      Returns:
      the StoragePoolRPOperationInner object itself.
    • origin

      public String origin()
      Get the origin property: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX.
      Returns:
      the origin value.
    • withOrigin

      public StoragePoolRPOperationInner withOrigin(String origin)
      Set the origin property: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX.
      Parameters:
      origin - the origin value to set.
      Returns:
      the StoragePoolRPOperationInner object itself.
    • validate

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