@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetHostnameSuggestionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the response to a GetHostnameSuggestion
request.
Constructor and Description |
---|
GetHostnameSuggestionResult() |
Modifier and Type | Method and Description |
---|---|
GetHostnameSuggestionResult |
clone() |
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.
|
GetHostnameSuggestionResult |
withHostname(String hostname)
The generated host name.
|
GetHostnameSuggestionResult |
withLayerId(String layerId)
The layer ID.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setLayerId(String layerId)
The layer ID.
layerId
- The layer ID.public String getLayerId()
The layer ID.
public GetHostnameSuggestionResult withLayerId(String layerId)
The layer ID.
layerId
- The layer ID.public void setHostname(String hostname)
The generated host name.
hostname
- The generated host name.public String getHostname()
The generated host name.
public GetHostnameSuggestionResult withHostname(String hostname)
The generated host name.
hostname
- The generated host name.public String toString()
toString
in class Object
Object.toString()
public GetHostnameSuggestionResult clone()