Class SnapshotDiskContainer

    • Constructor Detail

      • SnapshotDiskContainer

        public SnapshotDiskContainer()
    • Method Detail

      • setDescription

        public void setDescription​(String description)

        The description of the disk image being imported.

        Parameters:
        description - The description of the disk image being imported.
      • getDescription

        public String getDescription()

        The description of the disk image being imported.

        Returns:
        The description of the disk image being imported.
      • withDescription

        public SnapshotDiskContainer withDescription​(String description)

        The description of the disk image being imported.

        Parameters:
        description - The description of the disk image being imported.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setFormat

        public void setFormat​(String format)

        The format of the disk image being imported.

        Valid values: RAW | VHD | VMDK | OVA

        Parameters:
        format - The format of the disk image being imported.

        Valid values: RAW | VHD | VMDK | OVA

      • getFormat

        public String getFormat()

        The format of the disk image being imported.

        Valid values: RAW | VHD | VMDK | OVA

        Returns:
        The format of the disk image being imported.

        Valid values: RAW | VHD | VMDK | OVA

      • withFormat

        public SnapshotDiskContainer withFormat​(String format)

        The format of the disk image being imported.

        Valid values: RAW | VHD | VMDK | OVA

        Parameters:
        format - The format of the disk image being imported.

        Valid values: RAW | VHD | VMDK | OVA

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setUrl

        public void setUrl​(String url)

        The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..).

        Parameters:
        url - The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..).
      • getUrl

        public String getUrl()

        The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..).

        Returns:
        The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..).
      • withUrl

        public SnapshotDiskContainer withUrl​(String url)

        The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..).

        Parameters:
        url - The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setUserBucket

        public void setUserBucket​(UserBucket userBucket)

        The S3 bucket for the disk image.

        Parameters:
        userBucket - The S3 bucket for the disk image.
      • getUserBucket

        public UserBucket getUserBucket()

        The S3 bucket for the disk image.

        Returns:
        The S3 bucket for the disk image.
      • withUserBucket

        public SnapshotDiskContainer withUserBucket​(UserBucket userBucket)

        The S3 bucket for the disk image.

        Parameters:
        userBucket - The S3 bucket for the disk image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object