public static interface ModifyHostsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ModifyHostsResponse.Builder,ModifyHostsResponse>
Modifier and Type | Method and Description |
---|---|
ModifyHostsResponse.Builder |
successful(Collection<String> successful)
The IDs of the Dedicated Hosts that were successfully modified.
|
ModifyHostsResponse.Builder |
successful(String... successful)
The IDs of the Dedicated Hosts that were successfully modified.
|
ModifyHostsResponse.Builder |
unsuccessful(Collection<UnsuccessfulItem> unsuccessful)
The IDs of the Dedicated Hosts that could not be modified.
|
ModifyHostsResponse.Builder |
unsuccessful(Consumer<UnsuccessfulItem.Builder>... unsuccessful)
The IDs of the Dedicated Hosts that could not be modified.
|
ModifyHostsResponse.Builder |
unsuccessful(UnsuccessfulItem... unsuccessful)
The IDs of the Dedicated Hosts that could not be modified.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ModifyHostsResponse.Builder successful(Collection<String> successful)
The IDs of the Dedicated Hosts that were successfully modified.
successful
- The IDs of the Dedicated Hosts that were successfully modified.ModifyHostsResponse.Builder successful(String... successful)
The IDs of the Dedicated Hosts that were successfully modified.
successful
- The IDs of the Dedicated Hosts that were successfully modified.ModifyHostsResponse.Builder unsuccessful(Collection<UnsuccessfulItem> unsuccessful)
The IDs of the Dedicated Hosts that could not be modified. Check whether the setting you requested can be used.
unsuccessful
- The IDs of the Dedicated Hosts that could not be modified. Check whether the setting you requested can
be used.ModifyHostsResponse.Builder unsuccessful(UnsuccessfulItem... unsuccessful)
The IDs of the Dedicated Hosts that could not be modified. Check whether the setting you requested can be used.
unsuccessful
- The IDs of the Dedicated Hosts that could not be modified. Check whether the setting you requested can
be used.ModifyHostsResponse.Builder unsuccessful(Consumer<UnsuccessfulItem.Builder>... unsuccessful)
The IDs of the Dedicated Hosts that could not be modified. Check whether the setting you requested can be used.
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 © 2017 Amazon Web Services, Inc. All Rights Reserved.