Class ImportSnapshotRequest

    • Constructor Detail

      • ImportSnapshotRequest

        public ImportSnapshotRequest()
    • Method Detail

      • setDescription

        public void setDescription​(String description)

        The description string for the import snapshot task.

        Parameters:
        description - The description string for the import snapshot task.
      • getDescription

        public String getDescription()

        The description string for the import snapshot task.

        Returns:
        The description string for the import snapshot task.
      • withDescription

        public ImportSnapshotRequest withDescription​(String description)

        The description string for the import snapshot task.

        Parameters:
        description - The description string for the import snapshot task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDiskContainer

        public void setDiskContainer​(SnapshotDiskContainer diskContainer)

        Information about the disk container.

        Parameters:
        diskContainer - Information about the disk container.
      • getDiskContainer

        public SnapshotDiskContainer getDiskContainer()

        Information about the disk container.

        Returns:
        Information about the disk container.
      • withDiskContainer

        public ImportSnapshotRequest withDiskContainer​(SnapshotDiskContainer diskContainer)

        Information about the disk container.

        Parameters:
        diskContainer - Information about the disk container.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setClientData

        public void setClientData​(ClientData clientData)

        The client-specific data.

        Parameters:
        clientData - The client-specific data.
      • getClientData

        public ClientData getClientData()

        The client-specific data.

        Returns:
        The client-specific data.
      • withClientData

        public ImportSnapshotRequest withClientData​(ClientData clientData)

        The client-specific data.

        Parameters:
        clientData - The client-specific data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setClientToken

        public void setClientToken​(String clientToken)

        Token to enable idempotency for VM import requests.

        Parameters:
        clientToken - Token to enable idempotency for VM import requests.
      • getClientToken

        public String getClientToken()

        Token to enable idempotency for VM import requests.

        Returns:
        Token to enable idempotency for VM import requests.
      • withClientToken

        public ImportSnapshotRequest withClientToken​(String clientToken)

        Token to enable idempotency for VM import requests.

        Parameters:
        clientToken - Token to enable idempotency for VM import requests.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRoleName

        public void setRoleName​(String roleName)

        The name of the role to use when not using the default role, 'vmimport'.

        Parameters:
        roleName - The name of the role to use when not using the default role, 'vmimport'.
      • getRoleName

        public String getRoleName()

        The name of the role to use when not using the default role, 'vmimport'.

        Returns:
        The name of the role to use when not using the default role, 'vmimport'.
      • withRoleName

        public ImportSnapshotRequest withRoleName​(String roleName)

        The name of the role to use when not using the default role, 'vmimport'.

        Parameters:
        roleName - The name of the role to use when not using the default role, 'vmimport'.
        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