public class ReleaseHostsResult extends Object implements Serializable, Cloneable
Contains the output of ReleaseHosts.
Constructor and Description |
---|
ReleaseHostsResult() |
Modifier and Type | Method and Description |
---|---|
ReleaseHostsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSuccessful()
The IDs of the Dedicated hosts that were successfully released.
|
List<UnsuccessfulItem> |
getUnsuccessful()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReleaseHostsResult |
withSuccessful(Collection<String> successful)
The IDs of the Dedicated hosts that were successfully released.
|
ReleaseHostsResult |
withSuccessful(String... successful)
The IDs of the Dedicated hosts that were successfully released.
|
ReleaseHostsResult |
withUnsuccessful(Collection<UnsuccessfulItem> unsuccessful)
The IDs of the Dedicated hosts that could not be released, including an
error message.
|
ReleaseHostsResult |
withUnsuccessful(UnsuccessfulItem... unsuccessful)
The IDs of the Dedicated hosts that could not be released, including an
error message.
|
public List<String> getSuccessful()
The IDs of the Dedicated hosts that were successfully released.
public void setSuccessful(Collection<String> successful)
The IDs of the Dedicated hosts that were successfully released.
successful
- The IDs of the Dedicated hosts that were successfully released.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.
successful
- The IDs of the Dedicated hosts that were successfully released.public ReleaseHostsResult withSuccessful(Collection<String> successful)
The IDs of the Dedicated hosts that were successfully released.
successful
- The IDs of the Dedicated hosts that were successfully released.public List<UnsuccessfulItem> getUnsuccessful()
The IDs of the Dedicated hosts that could not be released, including an error message.
public void setUnsuccessful(Collection<UnsuccessfulItem> unsuccessful)
The IDs of the Dedicated hosts that could not be released, including an error message.
unsuccessful
- The IDs of the Dedicated hosts that could not be released,
including an error message.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.
unsuccessful
- The IDs of the Dedicated hosts that could not be released,
including an error message.public ReleaseHostsResult withUnsuccessful(Collection<UnsuccessfulItem> unsuccessful)
The IDs of the Dedicated hosts that could not be released, including an error message.
unsuccessful
- The IDs of the Dedicated hosts that could not be released,
including an error message.public String toString()
toString
in class Object
Object.toString()
public ReleaseHostsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.