Class GetHostnameSuggestionResult
- java.lang.Object
-
- com.amazonaws.services.opsworks.model.GetHostnameSuggestionResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GetHostnameSuggestionResult extends Object implements Serializable, Cloneable
Contains the response to a
GetHostnameSuggestionrequest.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetHostnameSuggestionResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetHostnameSuggestionResultclone()booleanequals(Object obj)StringgetHostname()The generated host name.StringgetLayerId()The layer ID.inthashCode()voidsetHostname(String hostname)The generated host name.voidsetLayerId(String layerId)The layer ID.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetHostnameSuggestionResultwithHostname(String hostname)The generated host name.GetHostnameSuggestionResultwithLayerId(String layerId)The layer ID.
-
-
-
Method Detail
-
setLayerId
public void setLayerId(String layerId)
The layer ID.
- Parameters:
layerId- The layer ID.
-
getLayerId
public String getLayerId()
The layer ID.
- Returns:
- The layer ID.
-
withLayerId
public GetHostnameSuggestionResult withLayerId(String layerId)
The layer ID.
- Parameters:
layerId- The layer ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHostname
public void setHostname(String hostname)
The generated host name.
- Parameters:
hostname- The generated host name.
-
getHostname
public String getHostname()
The generated host name.
- Returns:
- The generated host name.
-
withHostname
public GetHostnameSuggestionResult withHostname(String hostname)
The generated host name.
- Parameters:
hostname- The generated host name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetHostnameSuggestionResult clone()
-
-