CopyableBuilder<AllocateHostsResponse.Builder,AllocateHostsResponse>, SdkBuilder<AllocateHostsResponse.Builder,AllocateHostsResponse>public static interface AllocateHostsResponse.Builder extends CopyableBuilder<AllocateHostsResponse.Builder,AllocateHostsResponse>
| Modifier and Type | Method | Description |
|---|---|---|
AllocateHostsResponse.Builder |
hostIds(String... hostIds) |
The ID of the allocated Dedicated Host.
|
AllocateHostsResponse.Builder |
hostIds(Collection<String> hostIds) |
The ID of the allocated Dedicated Host.
|
copyapply, buildAllocateHostsResponse.Builder hostIds(Collection<String> hostIds)
The ID of the allocated Dedicated Host. This is used when you want to launch an instance onto a specific host.
hostIds - The ID of the allocated Dedicated Host. This is used when you want to launch an instance onto a
specific host.AllocateHostsResponse.Builder hostIds(String... hostIds)
The ID of the allocated Dedicated Host. This is used when you want to launch an instance onto a specific host.
NOTE: This method appends the values to the existing list (if any). Use
#setHostIds(java.util.Collection) or #withHostIds(java.util.Collection) if you want to
override the existing values.
hostIds - The ID of the allocated Dedicated Host. This is used when you want to launch an instance onto a
specific host.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.