Class ImportInstanceRequest

    • Constructor Detail

      • ImportInstanceRequest

        public ImportInstanceRequest()
    • Method Detail

      • setDescription

        public void setDescription​(String description)

        A description for the instance being imported.

        Parameters:
        description - A description for the instance being imported.
      • getDescription

        public String getDescription()

        A description for the instance being imported.

        Returns:
        A description for the instance being imported.
      • withDescription

        public ImportInstanceRequest withDescription​(String description)

        A description for the instance being imported.

        Parameters:
        description - A description for the instance being imported.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLaunchSpecification

        public void setLaunchSpecification​(ImportInstanceLaunchSpecification launchSpecification)

        The launch specification.

        Parameters:
        launchSpecification - The launch specification.
      • withLaunchSpecification

        public ImportInstanceRequest withLaunchSpecification​(ImportInstanceLaunchSpecification launchSpecification)

        The launch specification.

        Parameters:
        launchSpecification - The launch specification.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getDiskImages

        public List<DiskImage> getDiskImages()

        The disk image.

        Returns:
        The disk image.
      • setDiskImages

        public void setDiskImages​(Collection<DiskImage> diskImages)

        The disk image.

        Parameters:
        diskImages - The disk image.
      • withDiskImages

        public ImportInstanceRequest withDiskImages​(Collection<DiskImage> diskImages)

        The disk image.

        Parameters:
        diskImages - The disk image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPlatform

        public void setPlatform​(String platform)

        The instance operating system.

        Parameters:
        platform - The instance operating system.
        See Also:
        PlatformValues
      • getPlatform

        public String getPlatform()

        The instance operating system.

        Returns:
        The instance operating system.
        See Also:
        PlatformValues
      • withPlatform

        public ImportInstanceRequest withPlatform​(String platform)

        The instance operating system.

        Parameters:
        platform - The instance operating system.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PlatformValues
      • setPlatform

        public void setPlatform​(PlatformValues platform)

        The instance operating system.

        Parameters:
        platform - The instance operating system.
        See Also:
        PlatformValues
      • withPlatform

        public ImportInstanceRequest withPlatform​(PlatformValues platform)

        The instance operating system.

        Parameters:
        platform - The instance operating system.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PlatformValues
      • 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