Class OperationResultInner


  • public final class OperationResultInner
    extends Object
    Operation Result Entity.
    • Constructor Detail

      • OperationResultInner

        public OperationResultInner()
    • Method Detail

      • id

        public String id()
        Get the id property: ID of the resource.
        Returns:
        the id value.
      • name

        public String name()
        Get the name property: Name of the resource.
        Returns:
        the name value.
      • status

        public Status status()
        Get the status property: status of the Operation result.
        Returns:
        the status value.
      • startTime

        public OffsetDateTime startTime()
        Get the startTime property: The operation start time.
        Returns:
        the startTime value.
      • withStartTime

        public OperationResultInner withStartTime​(OffsetDateTime startTime)
        Set the startTime property: The operation start time.
        Parameters:
        startTime - the startTime value to set.
        Returns:
        the OperationResultInner object itself.
      • endTime

        public OffsetDateTime endTime()
        Get the endTime property: The operation end time.
        Returns:
        the endTime value.
      • withEndTime

        public OperationResultInner withEndTime​(OffsetDateTime endTime)
        Set the endTime property: The operation end time.
        Parameters:
        endTime - the endTime value to set.
        Returns:
        the OperationResultInner object itself.
      • percentComplete

        public Double percentComplete()
        Get the percentComplete property: Percentage completed.
        Returns:
        the percentComplete value.
      • withPercentComplete

        public OperationResultInner withPercentComplete​(Double percentComplete)
        Set the percentComplete property: Percentage completed.
        Parameters:
        percentComplete - the percentComplete value to set.
        Returns:
        the OperationResultInner object itself.
      • operationKind

        public String operationKind()
        Get the operationKind property: The kind of the operation.
        Returns:
        the operationKind value.
      • withOperationKind

        public OperationResultInner withOperationKind​(String operationKind)
        Set the operationKind property: The kind of the operation.
        Parameters:
        operationKind - the operationKind value to set.
        Returns:
        the OperationResultInner object itself.
      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: The provisioned state of the resource.
        Returns:
        the provisioningState value.
      • operationState

        public String operationState()
        Get the operationState property: The state of the operation.
        Returns:
        the operationState value.
      • withOperationState

        public OperationResultInner withOperationState​(String operationState)
        Set the operationState property: The state of the operation.
        Parameters:
        operationState - the operationState value to set.
        Returns:
        the OperationResultInner object itself.
      • code

        public String code()
        Get the code property: The code of the error.
        Returns:
        the code value.
      • withCode

        public OperationResultInner withCode​(String code)
        Set the code property: The code of the error.
        Parameters:
        code - the code value to set.
        Returns:
        the OperationResultInner object itself.
      • message

        public String message()
        Get the message property: The error message.
        Returns:
        the message value.
      • withMessage

        public OperationResultInner withMessage​(String message)
        Set the message property: The error message.
        Parameters:
        message - the message value to set.
        Returns:
        the OperationResultInner object itself.
      • validate

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