Class OperationStatusResultInner


  • public final class OperationStatusResultInner
    extends Object
    The current status of an async operation.
    • Constructor Detail

      • OperationStatusResultInner

        public OperationStatusResultInner()
    • Method Detail

      • id

        public String id()
        Get the id property: Fully qualified ID for the async operation.
        Returns:
        the id value.
      • withId

        public OperationStatusResultInner withId​(String id)
        Set the id property: Fully qualified ID for the async operation.
        Parameters:
        id - the id value to set.
        Returns:
        the OperationStatusResultInner object itself.
      • name

        public String name()
        Get the name property: Name of the async operation.
        Returns:
        the name value.
      • withName

        public OperationStatusResultInner withName​(String name)
        Set the name property: Name of the async operation.
        Parameters:
        name - the name value to set.
        Returns:
        the OperationStatusResultInner object itself.
      • status

        public String status()
        Get the status property: Operation status.
        Returns:
        the status value.
      • withStatus

        public OperationStatusResultInner withStatus​(String status)
        Set the status property: Operation status.
        Parameters:
        status - the status value to set.
        Returns:
        the OperationStatusResultInner object itself.
      • properties

        public Map<String,​String> properties()
        Get the properties property: Additional information, if available.
        Returns:
        the properties value.
      • withProperties

        public OperationStatusResultInner withProperties​(Map<String,​String> properties)
        Set the properties property: Additional information, if available.
        Parameters:
        properties - the properties value to set.
        Returns:
        the OperationStatusResultInner object itself.
      • error

        public com.azure.core.management.exception.ManagementError error()
        Get the error property: If present, details of the operation error.
        Returns:
        the error value.
      • validate

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