Class ExportToS3Task

    • Method Detail

      • containerFormat

        public final ContainerFormat containerFormat()

        The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.

        If the service returns an enum value that is not available in the current SDK version, containerFormat will return ContainerFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from containerFormatAsString().

        Returns:
        The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
        See Also:
        ContainerFormat
      • containerFormatAsString

        public final String containerFormatAsString()

        The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.

        If the service returns an enum value that is not available in the current SDK version, containerFormat will return ContainerFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from containerFormatAsString().

        Returns:
        The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
        See Also:
        ContainerFormat
      • s3Bucket

        public final String s3Bucket()

        The Amazon S3 bucket for the destination image. The destination bucket must exist and have an access control list (ACL) attached that specifies the Region-specific canonical account ID for the Grantee. For more information about the ACL to your S3 bucket, see Prerequisites in the VM Import/Export User Guide.

        Returns:
        The Amazon S3 bucket for the destination image. The destination bucket must exist and have an access control list (ACL) attached that specifies the Region-specific canonical account ID for the Grantee. For more information about the ACL to your S3 bucket, see Prerequisites in the VM Import/Export User Guide.
      • s3Key

        public final String s3Key()

        The encryption key for your S3 bucket.

        Returns:
        The encryption key for your S3 bucket.
      • 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)