Class ExportToS3TaskSpecification

    • 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.
      • s3Prefix

        public final String s3Prefix()

        The image is written to a single object in the Amazon S3 bucket at the S3 key s3prefix + exportTaskId + '.' + diskImageFormat.

        Returns:
        The image is written to a single object in the Amazon S3 bucket at the S3 key s3prefix + exportTaskId + '.' + diskImageFormat.
      • 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)