public class ModifyHostsResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
ModifyHostsResult() |
| Modifier and Type | Method and Description |
|---|---|
ModifyHostsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSuccessful()
The IDs of the Dedicated hosts that were successfully modified.
|
List<UnsuccessfulItem> |
getUnsuccessful()
The IDs of the Dedicated hosts that could not be modified.
|
int |
hashCode() |
void |
setSuccessful(Collection<String> successful)
The IDs of the Dedicated hosts that were successfully modified.
|
void |
setUnsuccessful(Collection<UnsuccessfulItem> unsuccessful)
The IDs of the Dedicated hosts that could not be modified.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ModifyHostsResult |
withSuccessful(Collection<String> successful)
The IDs of the Dedicated hosts that were successfully modified.
|
ModifyHostsResult |
withSuccessful(String... successful)
The IDs of the Dedicated hosts that were successfully modified.
|
ModifyHostsResult |
withUnsuccessful(Collection<UnsuccessfulItem> unsuccessful)
The IDs of the Dedicated hosts that could not be modified.
|
ModifyHostsResult |
withUnsuccessful(UnsuccessfulItem... unsuccessful)
The IDs of the Dedicated hosts that could not be modified.
|
public List<String> getSuccessful()
public void setSuccessful(Collection<String> successful)
successful - The IDs of the Dedicated hosts that were successfully modified.public ModifyHostsResult 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 modified.public ModifyHostsResult 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 modified.public List<UnsuccessfulItem> getUnsuccessful()
public void setUnsuccessful(Collection<UnsuccessfulItem> unsuccessful)
unsuccessful - The IDs of the Dedicated hosts that could not be modified. Check
whether the setting you requested can be used.public ModifyHostsResult 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 modified. Check
whether the setting you requested can be used.public ModifyHostsResult 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 modified. Check
whether the setting you requested can be used.public String toString()
toString in class ObjectObject.toString()public ModifyHostsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.