Class OperationInner


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

      • OperationInner

        public OperationInner()
    • Method Detail

      • id

        public String id()
        Get the id property: Operation Id.
        Returns:
        the id value.
      • name

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

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

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

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