public class ReleaseHostsResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of ReleaseHosts.
Constructor and Description |
---|
ReleaseHostsResult() |
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 released.
|
java.util.List<UnsuccessfulItem> |
getUnsuccessful()
The IDs of the Dedicated hosts that could not be released, including
an error message.
|
int |
hashCode() |
void |
setSuccessful(java.util.Collection<java.lang.String> successful)
The IDs of the Dedicated hosts that were successfully released.
|
void |
setUnsuccessful(java.util.Collection<UnsuccessfulItem> unsuccessful)
The IDs of the Dedicated hosts that could not be released, including
an error message.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReleaseHostsResult |
withSuccessful(java.util.Collection<java.lang.String> successful)
The IDs of the Dedicated hosts that were successfully released.
|
ReleaseHostsResult |
withSuccessful(java.lang.String... successful)
The IDs of the Dedicated hosts that were successfully released.
|
ReleaseHostsResult |
withUnsuccessful(java.util.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.
|
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 released.public ReleaseHostsResult 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 released.public ReleaseHostsResult 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 released.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 released, including
an error message.public ReleaseHostsResult 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 released, including
an error message.public ReleaseHostsResult 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 released, including
an error message.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.