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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifyHostsResponse.Builder
successful(String... successful)
The IDs of the Dedicated Hosts that were successfully modified.ModifyHostsResponse.Builder
successful(Collection<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.-
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 Detail
-
successful
ModifyHostsResponse.Builder successful(Collection<String> 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
ModifyHostsResponse.Builder successful(String... 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
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.
- 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
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.
- 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
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 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 to#unsuccessful(List
.) - 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:
#unsuccessful(java.util.Collection
)
-
-