public static interface ReleaseHostsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ReleaseHostsResponse.Builder,ReleaseHostsResponse>
Modifier and Type | Method and Description |
---|---|
ReleaseHostsResponse.Builder |
successful(Collection<String> 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.
|
ReleaseHostsResponse.Builder |
unsuccessful(Collection<UnsuccessfulItem> unsuccessful)
The IDs of the Dedicated Hosts that could not be released, including an error message.
|
ReleaseHostsResponse.Builder |
unsuccessful(Consumer<UnsuccessfulItem.Builder>... 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.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, 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.
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.
unsuccessful
- The IDs of the Dedicated Hosts that could not be released, including an error message.ReleaseHostsResponse.Builder unsuccessful(Consumer<UnsuccessfulItem.Builder>... unsuccessful)
The IDs of the Dedicated Hosts that could not be released, including an error message.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #unsuccessful(List)
.unsuccessful
- a consumer that will call methods on List.Builder
#unsuccessful(List)
Copyright © 2019. All rights reserved.