public class GetHostnameSuggestionResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the response to a GetHostnameSuggestion
request.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
hostname
The generated host name.
|
private java.lang.String |
layerId
The layer ID.
|
Constructor and Description |
---|
GetHostnameSuggestionResult() |
Modifier and Type | Method and Description |
---|---|
GetHostnameSuggestionResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getHostname()
The generated host name.
|
java.lang.String |
getLayerId()
The layer ID.
|
int |
hashCode() |
void |
setHostname(java.lang.String hostname)
The generated host name.
|
void |
setLayerId(java.lang.String layerId)
The layer ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetHostnameSuggestionResult |
withHostname(java.lang.String hostname)
The generated host name.
|
GetHostnameSuggestionResult |
withLayerId(java.lang.String layerId)
The layer ID.
|
private java.lang.String layerId
The layer ID.
private java.lang.String hostname
The generated host name.
public void setLayerId(java.lang.String layerId)
The layer ID.
layerId
- The layer ID.public java.lang.String getLayerId()
The layer ID.
public GetHostnameSuggestionResult withLayerId(java.lang.String layerId)
The layer ID.
layerId
- The layer ID.public void setHostname(java.lang.String hostname)
The generated host name.
hostname
- The generated host name.public java.lang.String getHostname()
The generated host name.
public GetHostnameSuggestionResult withHostname(java.lang.String hostname)
The generated host name.
hostname
- The generated host name.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetHostnameSuggestionResult clone()
clone
in class java.lang.Object