com.amazonaws.services.elasticbeanstalk.model
Class Instance

java.lang.Object
  extended by com.amazonaws.services.elasticbeanstalk.model.Instance

public class Instance
extends java.lang.Object

The description of an Amazon EC2 instance.


Constructor Summary
Instance()
          Default constructor for a new Instance object.
 
Method Summary
 java.lang.String getId()
          The ID of the Amazon EC2 instance.
 void setId(java.lang.String id)
          The ID of the Amazon EC2 instance.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Instance withId(java.lang.String id)
          The ID of the Amazon EC2 instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Instance

public Instance()
Default constructor for a new Instance object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getId

public java.lang.String getId()
The ID of the Amazon EC2 instance.

Returns:
The ID of the Amazon EC2 instance.

setId

public void setId(java.lang.String id)
The ID of the Amazon EC2 instance.

Parameters:
id - The ID of the Amazon EC2 instance.

withId

public Instance withId(java.lang.String id)
The ID of the Amazon EC2 instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
id - The ID of the Amazon EC2 instance.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.