Class CreateInstanceResult
- java.lang.Object
-
- com.amazonaws.services.opsworks.model.CreateInstanceResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CreateInstanceResult extends Object implements Serializable, Cloneable
Contains the response to a
CreateInstancerequest.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateInstanceResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateInstanceResultclone()booleanequals(Object obj)StringgetInstanceId()The instance ID.inthashCode()voidsetInstanceId(String instanceId)The instance ID.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateInstanceResultwithInstanceId(String instanceId)The instance ID.
-
-
-
Method Detail
-
setInstanceId
public void setInstanceId(String instanceId)
The instance ID.
- Parameters:
instanceId- The instance ID.
-
getInstanceId
public String getInstanceId()
The instance ID.
- Returns:
- The instance ID.
-
withInstanceId
public CreateInstanceResult withInstanceId(String instanceId)
The instance ID.
- Parameters:
instanceId- The instance 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 CreateInstanceResult clone()
-
-