Class OperationInner


  • public final class OperationInner
    extends Object
    A REST API operation.
    • Constructor Detail

      • OperationInner

        public OperationInner()
    • Method Detail

      • name

        public String name()
        Get the name property: The operation name. This is of the format {provider}/{resource}/{operation}.
        Returns:
        the name value.
      • withName

        public OperationInner withName​(String name)
        Set the name property: The operation name. This is of the format {provider}/{resource}/{operation}.
        Parameters:
        name - the name value to set.
        Returns:
        the OperationInner object itself.
      • display

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

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

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

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

        public Object properties()
        Get the properties property: Any object.
        Returns:
        the properties value.
      • withProperties

        public OperationInner withProperties​(Object properties)
        Set the properties property: Any object.
        Parameters:
        properties - the properties value to set.
        Returns:
        the OperationInner object itself.
      • validate

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