Class Operation


  • public final class Operation
    extends Object
    An operation.
    • Constructor Detail

      • Operation

        public Operation()
    • Method Detail

      • name

        public String name()
        Get the name property: The operation name.
        Returns:
        the name value.
      • withName

        public Operation withName​(String name)
        Set the name property: The operation name.
        Parameters:
        name - the name value to set.
        Returns:
        the Operation object itself.
      • display

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

        public Operation withDisplay​(OperationDisplay display)
        Set the display property: The operation display name.
        Parameters:
        display - the display value to set.
        Returns:
        the Operation object itself.
      • origin

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

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

        public Properties properties()
        Get the properties property: Operation properties format.
        Returns:
        the properties value.
      • withProperties

        public Operation withProperties​(Properties properties)
        Set the properties property: Operation properties format.
        Parameters:
        properties - the properties value to set.
        Returns:
        the Operation object itself.
      • isDataAction

        public Boolean isDataAction()
        Get the isDataAction property: Whether the operation applies to data-plane.
        Returns:
        the isDataAction value.
      • withIsDataAction

        public Operation withIsDataAction​(Boolean isDataAction)
        Set the isDataAction property: Whether the operation applies to data-plane.
        Parameters:
        isDataAction - the isDataAction value to set.
        Returns:
        the Operation object itself.
      • actionType

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

        public Operation withActionType​(ActionType actionType)
        Set the actionType property: Indicates the action type.
        Parameters:
        actionType - the actionType value to set.
        Returns:
        the Operation object itself.
      • validate

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