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
CreateInstance
request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateInstanceResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateInstanceResult
clone()
boolean
equals(Object obj)
String
getInstanceId()
The instance ID.int
hashCode()
void
setInstanceId(String instanceId)
The instance ID.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateInstanceResult
withInstanceId(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateInstanceResult clone()
-
-