Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class GetHostnameSuggestionResult

java.lang.Object
  extended by com.amazonaws.services.opsworks.model.GetHostnameSuggestionResult
All Implemented Interfaces:
Serializable

public class GetHostnameSuggestionResult
extends Object
implements Serializable

Contains the response to a GetHostnameSuggestion request.

See Also:
Serialized Form

Constructor Summary
GetHostnameSuggestionResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getHostname()
          The generated hostname.
 String getLayerId()
          The layer ID.
 int hashCode()
           
 void setHostname(String hostname)
          The generated hostname.
 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 hostname.
 GetHostnameSuggestionResult withLayerId(String layerId)
          The layer ID.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetHostnameSuggestionResult

public GetHostnameSuggestionResult()
Method Detail

getLayerId

public String getLayerId()
The layer ID.

Returns:
The layer ID.

setLayerId

public void setLayerId(String layerId)
The layer ID.

Parameters:
layerId - The layer ID.

withLayerId

public GetHostnameSuggestionResult withLayerId(String layerId)
The layer ID.

Returns a reference to this object so that method calls can be chained together.

Parameters:
layerId - The layer ID.
Returns:
A reference to this updated object so that method calls can be chained together.

getHostname

public String getHostname()
The generated hostname.

Returns:
The generated hostname.

setHostname

public void setHostname(String hostname)
The generated hostname.

Parameters:
hostname - The generated hostname.

withHostname

public GetHostnameSuggestionResult withHostname(String hostname)
The generated hostname.

Returns a reference to this object so that method calls can be chained together.

Parameters:
hostname - The generated hostname.
Returns:
A reference to this updated 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:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.