Class BundleTask

    • Method Detail

      • bundleId

        public final String bundleId()

        The ID of the bundle task.

        Returns:
        The ID of the bundle task.
      • bundleTaskError

        public final BundleTaskError bundleTaskError()

        If the task fails, a description of the error.

        Returns:
        If the task fails, a description of the error.
      • instanceId

        public final String instanceId()

        The ID of the instance associated with this bundle task.

        Returns:
        The ID of the instance associated with this bundle task.
      • progress

        public final String progress()

        The level of task completion, as a percent (for example, 20%).

        Returns:
        The level of task completion, as a percent (for example, 20%).
      • startTime

        public final Instant startTime()

        The time this task started.

        Returns:
        The time this task started.
      • storage

        public final Storage storage()

        The Amazon S3 storage locations.

        Returns:
        The Amazon S3 storage locations.
      • updateTime

        public final Instant updateTime()

        The time of the most recent update for the task.

        Returns:
        The time of the most recent update for the task.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)