Interface ModifyHostsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ModifyHostsResponse.Builder,
,ModifyHostsResponse> Ec2Response.Builder
,SdkBuilder<ModifyHostsResponse.Builder,
,ModifyHostsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ModifyHostsResponse
public static interface ModifyHostsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ModifyHostsResponse.Builder,ModifyHostsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsuccessful
(String... successful) The IDs of the Dedicated Hosts that were successfully modified.successful
(Collection<String> successful) The IDs of the Dedicated Hosts that were successfully modified.unsuccessful
(Collection<UnsuccessfulItem> unsuccessful) The IDs of the Dedicated Hosts that could not be modified.unsuccessful
(Consumer<UnsuccessfulItem.Builder>... unsuccessful) The IDs of the Dedicated Hosts that could not be modified.unsuccessful
(UnsuccessfulItem... unsuccessful) The IDs of the Dedicated Hosts that could not be modified.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
successful
The IDs of the Dedicated Hosts that were successfully modified.
- Parameters:
successful
- The IDs of the Dedicated Hosts that were successfully modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
The IDs of the Dedicated Hosts that were successfully modified.
- Parameters:
successful
- The IDs of the Dedicated Hosts that were successfully modified.- Returns:
- 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 modified. Check whether the setting you requested can be used.
- Parameters:
unsuccessful
- The IDs of the Dedicated Hosts that could not be modified. Check whether the setting you requested can be used.- Returns:
- 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 modified. Check whether the setting you requested can be used.
- Parameters:
unsuccessful
- The IDs of the Dedicated Hosts that could not be modified. Check whether the setting you requested can be used.- Returns:
- 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 modified. Check whether the setting you requested can be used.
This is a convenience method that creates an instance of theUnsuccessfulItem.Builder
avoiding the need to create one manually viaUnsuccessfulItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tounsuccessful(List<UnsuccessfulItem>)
.- Parameters:
unsuccessful
- a consumer that will call methods onUnsuccessfulItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-