public class ModifyHostsResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of ModifyHosts.
Constructor and Description |
---|
ModifyHostsResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.util.List<java.lang.String> getSuccessful()
public void setSuccessful(java.util.Collection<java.lang.String> successful)
successful
- The IDs of the Dedicated hosts that were successfully modified.public ModifyHostsResult withSuccessful(java.lang.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 ModifyHostsResult withSuccessful(java.util.Collection<java.lang.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 java.util.List<UnsuccessfulItem> getUnsuccessful()
public void setUnsuccessful(java.util.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)
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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.