public class ModifyHostsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of ModifyHosts.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
successful
The IDs of the Dedicated hosts that were successfully modified.
|
private SdkInternalList<UnsuccessfulItem> |
unsuccessful
The IDs of the Dedicated hosts that could not be modified.
|
Constructor and Description |
---|
ModifyHostsResult() |
Modifier and Type | Method and Description |
---|---|
ModifyHostsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getSuccessful()
The IDs of the Dedicated hosts that were successfully modified.
|
java.util.List<UnsuccessfulItem> |
getUnsuccessful()
The IDs of the Dedicated hosts that could not be modified.
|
int |
hashCode() |
void |
setSuccessful(java.util.Collection<java.lang.String> successful)
The IDs of the Dedicated hosts that were successfully modified.
|
void |
setUnsuccessful(java.util.Collection<UnsuccessfulItem> unsuccessful)
The IDs of the Dedicated hosts that could not be modified.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ModifyHostsResult |
withSuccessful(java.util.Collection<java.lang.String> successful)
The IDs of the Dedicated hosts that were successfully modified.
|
ModifyHostsResult |
withSuccessful(java.lang.String... successful)
The IDs of the Dedicated hosts that were successfully modified.
|
ModifyHostsResult |
withUnsuccessful(java.util.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.
|
private SdkInternalList<java.lang.String> successful
The IDs of the Dedicated hosts that were successfully modified.
private SdkInternalList<UnsuccessfulItem> unsuccessful
The IDs of the Dedicated hosts that could not be modified. Check whether the setting you requested can be used.
public java.util.List<java.lang.String> getSuccessful()
The IDs of the Dedicated hosts that were successfully modified.
public void setSuccessful(java.util.Collection<java.lang.String> successful)
The IDs of the Dedicated hosts that were successfully modified.
successful
- The IDs of the Dedicated hosts that were successfully modified.public ModifyHostsResult withSuccessful(java.lang.String... successful)
The IDs of the Dedicated hosts that were successfully modified.
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 modified.public ModifyHostsResult withSuccessful(java.util.Collection<java.lang.String> successful)
The IDs of the Dedicated hosts that were successfully modified.
successful
- The IDs of the Dedicated hosts that were successfully modified.public java.util.List<UnsuccessfulItem> getUnsuccessful()
The IDs of the Dedicated hosts that could not be modified. Check whether the setting you requested can be used.
public void setUnsuccessful(java.util.Collection<UnsuccessfulItem> unsuccessful)
The IDs of the Dedicated hosts that could not be modified. Check whether the setting you requested can be used.
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)
The IDs of the Dedicated hosts that could not be modified. Check whether the setting you requested can be used.
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 modified. Check
whether the setting you requested can be used.public ModifyHostsResult withUnsuccessful(java.util.Collection<UnsuccessfulItem> unsuccessful)
The IDs of the Dedicated hosts that could not be modified. Check whether the setting you requested can be used.
unsuccessful
- The IDs of the Dedicated hosts that could not be modified. Check
whether the setting you requested can be used.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ModifyHostsResult clone()
clone
in class java.lang.Object