public class ReleaseHostsResult extends Object implements Serializable, Cloneable
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()
public void setSuccessful(Collection<String> successful)
successful
- The IDs of the Dedicated hosts that were successfully released.public ReleaseHostsResult withSuccessful(String... successful)
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.
Returns a reference to this object so that method calls can be chained together.
successful
- The IDs of the Dedicated hosts that were successfully released.public ReleaseHostsResult withSuccessful(Collection<String> successful)
Returns a reference to this object so that method calls can be chained together.
successful
- The IDs of the Dedicated hosts that were successfully released.public List<UnsuccessfulItem> getUnsuccessful()
public void setUnsuccessful(Collection<UnsuccessfulItem> unsuccessful)
unsuccessful
- The IDs of the Dedicated hosts that could not be released, including
an error message.public ReleaseHostsResult withUnsuccessful(UnsuccessfulItem... unsuccessful)
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.
Returns a reference to this object so that method calls can be chained together.
unsuccessful
- The IDs of the Dedicated hosts that could not be released, including
an error message.public ReleaseHostsResult withUnsuccessful(Collection<UnsuccessfulItem> unsuccessful)
Returns a reference to this object so that method calls can be chained together.
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.