com.amazonaws.services.opsworks.model
Class GetHostnameSuggestionRequest

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

public class GetHostnameSuggestionRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the GetHostnameSuggestion operation.

Gets a generated host name for the specified layer, based on the current host name theme.

Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

See Also:
AWSOpsWorks.getHostnameSuggestion(GetHostnameSuggestionRequest), Serialized Form

Constructor Summary
GetHostnameSuggestionRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getLayerId()
          The layer ID.
 int hashCode()
           
 void setLayerId(String layerId)
          The layer ID.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetHostnameSuggestionRequest withLayerId(String layerId)
          The layer ID.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetHostnameSuggestionRequest

public GetHostnameSuggestionRequest()
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 GetHostnameSuggestionRequest 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.

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 © 2016. All rights reserved.