public class AllocateHostsResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of AllocateHosts.
| Constructor and Description |
|---|
AllocateHostsResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getHostIds()
The ID of the allocated Dedicated host.
|
int |
hashCode() |
void |
setHostIds(java.util.Collection<java.lang.String> hostIds)
The ID of the allocated Dedicated host.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AllocateHostsResult |
withHostIds(java.util.Collection<java.lang.String> hostIds)
The ID of the allocated Dedicated host.
|
AllocateHostsResult |
withHostIds(java.lang.String... hostIds)
The ID of the allocated Dedicated host.
|
public java.util.List<java.lang.String> getHostIds()
public void setHostIds(java.util.Collection<java.lang.String> hostIds)
hostIds - The ID of the allocated Dedicated host. This is used when you want to
launch an instance onto a specific host.public AllocateHostsResult withHostIds(java.lang.String... hostIds)
Returns a reference to this object so that method calls can be chained together.
hostIds - The ID of the allocated Dedicated host. This is used when you want to
launch an instance onto a specific host.public AllocateHostsResult withHostIds(java.util.Collection<java.lang.String> hostIds)
Returns a reference to this object so that method calls can be chained together.
hostIds - The ID of the allocated Dedicated host. This is used when you want to
launch an instance onto a specific host.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.