|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticmapreduce.model.Instance
public class Instance
Represents an EC2 instance provisioned as part of cluster.
Constructor Summary | |
---|---|
Instance()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getEc2InstanceId()
The unique identifier of the instance in Amazon EC2. |
String |
getId()
The unique identifier for the instance in Amazon EMR. |
String |
getPrivateDnsName()
The private DNS name of the instance. |
String |
getPrivateIpAddress()
The private IP address of the instance. |
String |
getPublicDnsName()
The public DNS name of the instance. |
String |
getPublicIpAddress()
The public IP address of the instance. |
InstanceStatus |
getStatus()
The current status of the instance. |
int |
hashCode()
|
void |
setEc2InstanceId(String ec2InstanceId)
The unique identifier of the instance in Amazon EC2. |
void |
setId(String id)
The unique identifier for the instance in Amazon EMR. |
void |
setPrivateDnsName(String privateDnsName)
The private DNS name of the instance. |
void |
setPrivateIpAddress(String privateIpAddress)
The private IP address of the instance. |
void |
setPublicDnsName(String publicDnsName)
The public DNS name of the instance. |
void |
setPublicIpAddress(String publicIpAddress)
The public IP address of the instance. |
void |
setStatus(InstanceStatus status)
The current status of the instance. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Instance |
withEc2InstanceId(String ec2InstanceId)
The unique identifier of the instance in Amazon EC2. |
Instance |
withId(String id)
The unique identifier for the instance in Amazon EMR. |
Instance |
withPrivateDnsName(String privateDnsName)
The private DNS name of the instance. |
Instance |
withPrivateIpAddress(String privateIpAddress)
The private IP address of the instance. |
Instance |
withPublicDnsName(String publicDnsName)
The public DNS name of the instance. |
Instance |
withPublicIpAddress(String publicIpAddress)
The public IP address of the instance. |
Instance |
withStatus(InstanceStatus status)
The current status of the instance. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Instance()
Method Detail |
---|
public String getId()
public void setId(String id)
id
- The unique identifier for the instance in Amazon EMR.public Instance withId(String id)
Returns a reference to this object so that method calls can be chained together.
id
- The unique identifier for the instance in Amazon EMR.
public String getEc2InstanceId()
public void setEc2InstanceId(String ec2InstanceId)
ec2InstanceId
- The unique identifier of the instance in Amazon EC2.public Instance withEc2InstanceId(String ec2InstanceId)
Returns a reference to this object so that method calls can be chained together.
ec2InstanceId
- The unique identifier of the instance in Amazon EC2.
public String getPublicDnsName()
public void setPublicDnsName(String publicDnsName)
publicDnsName
- The public DNS name of the instance.public Instance withPublicDnsName(String publicDnsName)
Returns a reference to this object so that method calls can be chained together.
publicDnsName
- The public DNS name of the instance.
public String getPublicIpAddress()
public void setPublicIpAddress(String publicIpAddress)
publicIpAddress
- The public IP address of the instance.public Instance withPublicIpAddress(String publicIpAddress)
Returns a reference to this object so that method calls can be chained together.
publicIpAddress
- The public IP address of the instance.
public String getPrivateDnsName()
public void setPrivateDnsName(String privateDnsName)
privateDnsName
- The private DNS name of the instance.public Instance withPrivateDnsName(String privateDnsName)
Returns a reference to this object so that method calls can be chained together.
privateDnsName
- The private DNS name of the instance.
public String getPrivateIpAddress()
public void setPrivateIpAddress(String privateIpAddress)
privateIpAddress
- The private IP address of the instance.public Instance withPrivateIpAddress(String privateIpAddress)
Returns a reference to this object so that method calls can be chained together.
privateIpAddress
- The private IP address of the instance.
public InstanceStatus getStatus()
public void setStatus(InstanceStatus status)
status
- The current status of the instance.public Instance withStatus(InstanceStatus status)
Returns a reference to this object so that method calls can be chained together.
status
- The current status of the instance.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |