Class CloneStackResult
- java.lang.Object
-
- com.amazonaws.services.opsworks.model.CloneStackResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CloneStackResult extends Object implements Serializable, Cloneable
Contains the response to a
CloneStackrequest.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CloneStackResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloneStackResultclone()booleanequals(Object obj)StringgetStackId()The cloned stack ID.inthashCode()voidsetStackId(String stackId)The cloned stack ID.StringtoString()Returns a string representation of this object; useful for testing and debugging.CloneStackResultwithStackId(String stackId)The cloned stack ID.
-
-
-
Method Detail
-
setStackId
public void setStackId(String stackId)
The cloned stack ID.
- Parameters:
stackId- The cloned stack ID.
-
getStackId
public String getStackId()
The cloned stack ID.
- Returns:
- The cloned stack ID.
-
withStackId
public CloneStackResult withStackId(String stackId)
The cloned stack ID.
- Parameters:
stackId- The cloned stack 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CloneStackResult clone()
-
-