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