Class SnapshotTaskDetail

    • Method Detail

      • description

        public final String description()

        The description of the snapshot.

        Returns:
        The description of the snapshot.
      • diskImageSize

        public final Double diskImageSize()

        The size of the disk in the snapshot, in GiB.

        Returns:
        The size of the disk in the snapshot, in GiB.
      • encrypted

        public final Boolean encrypted()

        Indicates whether the snapshot is encrypted.

        Returns:
        Indicates whether the snapshot is encrypted.
      • format

        public final String format()

        The format of the disk image from which the snapshot is created.

        Returns:
        The format of the disk image from which the snapshot is created.
      • kmsKeyId

        public final String kmsKeyId()

        The identifier for the KMS key that was used to create the encrypted snapshot.

        Returns:
        The identifier for the KMS key that was used to create the encrypted snapshot.
      • progress

        public final String progress()

        The percentage of completion for the import snapshot task.

        Returns:
        The percentage of completion for the import snapshot task.
      • snapshotId

        public final String snapshotId()

        The snapshot ID of the disk being imported.

        Returns:
        The snapshot ID of the disk being imported.
      • status

        public final String status()

        A brief status for the import snapshot task.

        Returns:
        A brief status for the import snapshot task.
      • statusMessage

        public final String statusMessage()

        A detailed status message for the import snapshot task.

        Returns:
        A detailed status message for the import snapshot task.
      • url

        public final String url()

        The URL of the disk image from which the snapshot is created.

        Returns:
        The URL of the disk image from which the snapshot is created.
      • userBucket

        public final UserBucketDetails userBucket()

        The Amazon S3 bucket for the disk image.

        Returns:
        The Amazon S3 bucket for the disk image.
      • 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)