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
CloneStack
request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CloneStackResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloneStackResult
clone()
boolean
equals(Object obj)
String
getStackId()
The cloned stack ID.int
hashCode()
void
setStackId(String stackId)
The cloned stack ID.String
toString()
Returns a string representation of this object; useful for testing and debugging.CloneStackResult
withStackId(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CloneStackResult clone()
-
-