Class ReleaseHostsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of ReleaseHosts.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The IDs of the Dedicated hosts that were successfully released.The IDs of the Dedicated hosts that could not be released, including an error message.int
hashCode()
void
setSuccessful
(Collection<String> successful) The IDs of the Dedicated hosts that were successfully released.void
setUnsuccessful
(Collection<UnsuccessfulItem> unsuccessful) The IDs of the Dedicated hosts that could not be released, including an error message.toString()
Returns a string representation of this object; useful for testing and debugging.withSuccessful
(String... successful) The IDs of the Dedicated hosts that were successfully released.withSuccessful
(Collection<String> successful) The IDs of the Dedicated hosts that were successfully released.withUnsuccessful
(UnsuccessfulItem... unsuccessful) The IDs of the Dedicated hosts that could not be released, including an error message.withUnsuccessful
(Collection<UnsuccessfulItem> unsuccessful) The IDs of the Dedicated hosts that could not be released, including an error message.
-
Constructor Details
-
ReleaseHostsResult
public ReleaseHostsResult()
-
-
Method Details
-
getSuccessful
The IDs of the Dedicated hosts that were successfully released.
- Returns:
- The IDs of the Dedicated hosts that were successfully released.
-
setSuccessful
The IDs of the Dedicated hosts that were successfully released.
- Parameters:
successful
- The IDs of the Dedicated hosts that were successfully released.
-
withSuccessful
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)
orwithSuccessful(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
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
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
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
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)
orwithUnsuccessful(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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-