@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeMacHostsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeMacHostsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeMacHostsResult |
clone() |
boolean |
equals(Object obj) |
List<MacHost> |
getMacHosts()
Information about the EC2 Mac Dedicated Hosts.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setMacHosts(Collection<MacHost> macHosts)
Information about the EC2 Mac Dedicated Hosts.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeMacHostsResult |
withMacHosts(Collection<MacHost> macHosts)
Information about the EC2 Mac Dedicated Hosts.
|
DescribeMacHostsResult |
withMacHosts(MacHost... macHosts)
Information about the EC2 Mac Dedicated Hosts.
|
DescribeMacHostsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<MacHost> getMacHosts()
Information about the EC2 Mac Dedicated Hosts.
public void setMacHosts(Collection<MacHost> macHosts)
Information about the EC2 Mac Dedicated Hosts.
macHosts
- Information about the EC2 Mac Dedicated Hosts.public DescribeMacHostsResult withMacHosts(MacHost... macHosts)
Information about the EC2 Mac Dedicated Hosts.
NOTE: This method appends the values to the existing list (if any). Use
setMacHosts(java.util.Collection)
or withMacHosts(java.util.Collection)
if you want to override
the existing values.
macHosts
- Information about the EC2 Mac Dedicated Hosts.public DescribeMacHostsResult withMacHosts(Collection<MacHost> macHosts)
Information about the EC2 Mac Dedicated Hosts.
macHosts
- Information about the EC2 Mac Dedicated Hosts.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public String getNextToken()
The token to use to retrieve the next page of results.
public DescribeMacHostsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public String toString()
toString
in class Object
Object.toString()
public DescribeMacHostsResult clone()