Class CreateLayerResult
- java.lang.Object
-
- com.amazonaws.services.opsworks.model.CreateLayerResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CreateLayerResult extends Object implements Serializable, Cloneable
Contains the response to a
CreateLayer
request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateLayerResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateLayerResult
clone()
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.CreateLayerResult
withLayerId(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 CreateLayerResult 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.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateLayerResult clone()
-
-