@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyHostsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of ModifyHosts.
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getSuccessful()
The IDs of the Dedicated Hosts that were successfully modified.
public void setSuccessful(Collection<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(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(Collection<String> successful)
The IDs of the Dedicated Hosts that were successfully modified.
successful
- The IDs of the Dedicated Hosts that were successfully modified.public 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(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(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 String toString()
toString
in class Object
Object.toString()
public ModifyHostsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.