CopyableBuilder<ReleaseHostsResponse.Builder,ReleaseHostsResponse>
, SdkBuilder<ReleaseHostsResponse.Builder,ReleaseHostsResponse>
public static interface ReleaseHostsResponse.Builder extends CopyableBuilder<ReleaseHostsResponse.Builder,ReleaseHostsResponse>
Modifier and Type | Method | Description |
---|---|---|
ReleaseHostsResponse.Builder |
successful(String... successful) |
The IDs of the Dedicated Hosts that were successfully released.
|
ReleaseHostsResponse.Builder |
successful(Collection<String> successful) |
The IDs of the Dedicated Hosts that were successfully released.
|
ReleaseHostsResponse.Builder |
unsuccessful(Collection<UnsuccessfulItem> unsuccessful) |
The IDs of the Dedicated Hosts that could not be released, including an error message.
|
ReleaseHostsResponse.Builder |
unsuccessful(UnsuccessfulItem... unsuccessful) |
The IDs of the Dedicated Hosts that could not be released, including an error message.
|
copy
apply, build
ReleaseHostsResponse.Builder successful(Collection<String> successful)
The IDs of the Dedicated Hosts that were successfully released.
successful
- The IDs of the Dedicated Hosts that were successfully released.ReleaseHostsResponse.Builder successful(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.ReleaseHostsResponse.Builder unsuccessful(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.ReleaseHostsResponse.Builder unsuccessful(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.