Class ReleaseHostsResult

    • Constructor Detail

      • ReleaseHostsResult

        public ReleaseHostsResult()
    • Method Detail

      • getSuccessful

        public List<String> getSuccessful()

        The IDs of the Dedicated hosts that were successfully released.

        Returns:
        The IDs of the Dedicated hosts that were successfully released.
      • setSuccessful

        public void setSuccessful​(Collection<String> successful)

        The IDs of the Dedicated hosts that were successfully released.

        Parameters:
        successful - The IDs of the Dedicated hosts that were successfully released.
      • withSuccessful

        public ReleaseHostsResult withSuccessful​(String... successful)

        The IDs of the Dedicated hosts that were successfully released.

        NOTE: This method appends the values to the existing list (if any). Use setSuccessful(java.util.Collection) or withSuccessful(java.util.Collection) if you want to override the existing values.

        Parameters:
        successful - The IDs of the Dedicated hosts that were successfully released.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withSuccessful

        public ReleaseHostsResult withSuccessful​(Collection<String> successful)

        The IDs of the Dedicated hosts that were successfully released.

        Parameters:
        successful - The IDs of the Dedicated hosts that were successfully released.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getUnsuccessful

        public List<UnsuccessfulItem> getUnsuccessful()

        The IDs of the Dedicated hosts that could not be released, including an error message.

        Returns:
        The IDs of the Dedicated hosts that could not be released, including an error message.
      • setUnsuccessful

        public void setUnsuccessful​(Collection<UnsuccessfulItem> unsuccessful)

        The IDs of the Dedicated hosts that could not be released, including an error message.

        Parameters:
        unsuccessful - The IDs of the Dedicated hosts that could not be released, including an error message.
      • withUnsuccessful

        public ReleaseHostsResult withUnsuccessful​(UnsuccessfulItem... unsuccessful)

        The IDs of the Dedicated hosts that could not be released, including an error message.

        NOTE: This method appends the values to the existing list (if any). Use setUnsuccessful(java.util.Collection) or withUnsuccessful(java.util.Collection) if you want to override the existing values.

        Parameters:
        unsuccessful - The IDs of the Dedicated hosts that could not be released, including an error message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withUnsuccessful

        public ReleaseHostsResult withUnsuccessful​(Collection<UnsuccessfulItem> unsuccessful)

        The IDs of the Dedicated hosts that could not be released, including an error message.

        Parameters:
        unsuccessful - The IDs of the Dedicated hosts that could not be released, including an error message.
        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