@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReleaseHostsResult extends AmazonWebServiceResult<ResponseMetadata> 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.
|
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getSuccessful()
The IDs of the Dedicated Hosts that were successfully released.
public void setSuccessful(Collection<String> successful)
The IDs of the Dedicated Hosts that were successfully released.
successful
- The IDs of the Dedicated Hosts that were successfully released.public ReleaseHostsResult withSuccessful(String... successful)
The IDs of the Dedicated Hosts that were successfully released.
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 released.public ReleaseHostsResult withSuccessful(Collection<String> successful)
The IDs of the Dedicated Hosts that were successfully released.
successful
- The IDs of the Dedicated Hosts that were successfully released.public List<UnsuccessfulItem> getUnsuccessful()
The IDs of the Dedicated Hosts that could not be released, including an error message.
public void setUnsuccessful(Collection<UnsuccessfulItem> unsuccessful)
The IDs of the Dedicated Hosts that could not be released, including an error message.
unsuccessful
- The IDs of the Dedicated Hosts that could not be released, including an error message.public ReleaseHostsResult withUnsuccessful(UnsuccessfulItem... unsuccessful)
The IDs of the Dedicated Hosts that could not be released, including an error message.
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 released, including an error message.public ReleaseHostsResult withUnsuccessful(Collection<UnsuccessfulItem> unsuccessful)
The IDs of the Dedicated Hosts that could not be released, including an error message.
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()