Class ComputeInstanceLastOperation


  • public final class ComputeInstanceLastOperation
    extends Object
    The last operation on ComputeInstance.
    • Constructor Detail

      • ComputeInstanceLastOperation

        public ComputeInstanceLastOperation()
    • Method Detail

      • operationName

        public OperationName operationName()
        Get the operationName property: Name of the last operation.
        Returns:
        the operationName value.
      • withOperationName

        public ComputeInstanceLastOperation withOperationName​(OperationName operationName)
        Set the operationName property: Name of the last operation.
        Parameters:
        operationName - the operationName value to set.
        Returns:
        the ComputeInstanceLastOperation object itself.
      • operationTime

        public OffsetDateTime operationTime()
        Get the operationTime property: Time of the last operation.
        Returns:
        the operationTime value.
      • withOperationTime

        public ComputeInstanceLastOperation withOperationTime​(OffsetDateTime operationTime)
        Set the operationTime property: Time of the last operation.
        Parameters:
        operationTime - the operationTime value to set.
        Returns:
        the ComputeInstanceLastOperation object itself.
      • operationStatus

        public OperationStatus operationStatus()
        Get the operationStatus property: Operation status.
        Returns:
        the operationStatus value.
      • withOperationStatus

        public ComputeInstanceLastOperation withOperationStatus​(OperationStatus operationStatus)
        Set the operationStatus property: Operation status.
        Parameters:
        operationStatus - the operationStatus value to set.
        Returns:
        the ComputeInstanceLastOperation object itself.
      • operationTrigger

        public OperationTrigger operationTrigger()
        Get the operationTrigger property: Trigger of operation.
        Returns:
        the operationTrigger value.
      • withOperationTrigger

        public ComputeInstanceLastOperation withOperationTrigger​(OperationTrigger operationTrigger)
        Set the operationTrigger property: Trigger of operation.
        Parameters:
        operationTrigger - the operationTrigger value to set.
        Returns:
        the ComputeInstanceLastOperation object itself.
      • validate

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