Class StoreImageTaskResult

    • Method Detail

      • amiId

        public final String amiId()

        The ID of the AMI that is being stored.

        Returns:
        The ID of the AMI that is being stored.
      • taskStartTime

        public final Instant taskStartTime()

        The time the task started.

        Returns:
        The time the task started.
      • bucket

        public final String bucket()

        The name of the Amazon S3 bucket that contains the stored AMI object.

        Returns:
        The name of the Amazon S3 bucket that contains the stored AMI object.
      • s3objectKey

        public final String s3objectKey()

        The name of the stored AMI object in the bucket.

        Returns:
        The name of the stored AMI object in the bucket.
      • progressPercentage

        public final Integer progressPercentage()

        The progress of the task as a percentage.

        Returns:
        The progress of the task as a percentage.
      • storeTaskState

        public final String storeTaskState()

        The state of the store task (InProgress, Completed, or Failed).

        Returns:
        The state of the store task (InProgress, Completed, or Failed).
      • storeTaskFailureReason

        public final String storeTaskFailureReason()

        If the tasks fails, the reason for the failure is returned. If the task succeeds, null is returned.

        Returns:
        If the tasks fails, the reason for the failure is returned. If the task succeeds, null is returned.
      • 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)