@Generated(value="software.amazon.awssdk:codegen") public final class AllocateHostsResponse extends Ec2Response implements ToCopyableBuilder<AllocateHostsResponse.Builder,AllocateHostsResponse>
Contains the output of AllocateHosts.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AllocateHostsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AllocateHostsResponse.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<String> |
hostIds()
The ID of the allocated Dedicated Host.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AllocateHostsResponse.Builder> |
serializableBuilderClass() |
AllocateHostsResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic List<String> hostIds()
The ID of the allocated Dedicated Host. This is used to launch an instance onto a specific host.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public AllocateHostsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AllocateHostsResponse.Builder,AllocateHostsResponse>toBuilder in class AwsResponsepublic static AllocateHostsResponse.Builder builder()
public static Class<? extends AllocateHostsResponse.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.