public class BasicMachineMetadata extends java.lang.Object implements MachineManagementMixins.MachineMetadata
Constructor and Description |
---|
BasicMachineMetadata(java.lang.String id,
java.lang.String name,
java.lang.String primaryIp,
java.lang.Boolean isRunning,
java.lang.Object originalMetadata) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
The cloud service ID -- distinct from any Brooklyn
Location.getId() |
java.lang.String |
getName() |
java.lang.Object |
getOriginalMetadata()
original metadata object, if available; e.g.
|
java.lang.String |
getPrimaryIp() |
int |
hashCode() |
java.lang.Boolean |
isRunning() |
java.lang.String |
toString() |
public BasicMachineMetadata(java.lang.String id, java.lang.String name, java.lang.String primaryIp, java.lang.Boolean isRunning, java.lang.Object originalMetadata)
public java.lang.String getId()
MachineManagementMixins.MachineMetadata
Location.getId()
getId
in interface MachineManagementMixins.MachineMetadata
public java.lang.String getName()
getName
in interface MachineManagementMixins.MachineMetadata
public java.lang.String getPrimaryIp()
getPrimaryIp
in interface MachineManagementMixins.MachineMetadata
public java.lang.Boolean isRunning()
isRunning
in interface MachineManagementMixins.MachineMetadata
public java.lang.Object getOriginalMetadata()
MachineManagementMixins.MachineMetadata
getOriginalMetadata
in interface MachineManagementMixins.MachineMetadata
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object