public class GetHostnameSuggestionResult extends Object implements Serializable
Contains the response to a GetHostnameSuggestion
request.
Constructor and Description |
---|
GetHostnameSuggestionResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getHostname()
The generated host name.
|
String |
getLayerId()
The layer ID.
|
int |
hashCode() |
void |
setHostname(String hostname)
The generated host name.
|
void |
setLayerId(String layerId)
The layer ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetHostnameSuggestionResult |
withHostname(String hostname)
The generated host name.
|
GetHostnameSuggestionResult |
withLayerId(String layerId)
The layer ID.
|
public String getLayerId()
public void setLayerId(String layerId)
layerId
- The layer ID.public GetHostnameSuggestionResult withLayerId(String layerId)
Returns a reference to this object so that method calls can be chained together.
layerId
- The layer ID.public String getHostname()
public void setHostname(String hostname)
hostname
- The generated host name.public GetHostnameSuggestionResult withHostname(String hostname)
Returns a reference to this object so that method calls can be chained together.
hostname
- The generated host name.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.