public class EnvironmentInfoDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The information retrieved from the Amazon EC2 instances.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
ec2InstanceId
The Amazon EC2 Instance ID for this information.
|
private java.lang.String |
infoType
The type of information retrieved.
|
private java.lang.String |
message
The retrieved information.
|
private java.util.Date |
sampleTimestamp
The time stamp when this information was retrieved.
|
Constructor and Description |
---|
EnvironmentInfoDescription() |
Modifier and Type | Method and Description |
---|---|
EnvironmentInfoDescription |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEc2InstanceId()
The Amazon EC2 Instance ID for this information.
|
java.lang.String |
getInfoType()
The type of information retrieved.
|
java.lang.String |
getMessage()
The retrieved information.
|
java.util.Date |
getSampleTimestamp()
The time stamp when this information was retrieved.
|
int |
hashCode() |
void |
setEc2InstanceId(java.lang.String ec2InstanceId)
The Amazon EC2 Instance ID for this information.
|
void |
setInfoType(EnvironmentInfoType infoType)
The type of information retrieved.
|
void |
setInfoType(java.lang.String infoType)
The type of information retrieved.
|
void |
setMessage(java.lang.String message)
The retrieved information.
|
void |
setSampleTimestamp(java.util.Date sampleTimestamp)
The time stamp when this information was retrieved.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EnvironmentInfoDescription |
withEc2InstanceId(java.lang.String ec2InstanceId)
The Amazon EC2 Instance ID for this information.
|
EnvironmentInfoDescription |
withInfoType(EnvironmentInfoType infoType)
The type of information retrieved.
|
EnvironmentInfoDescription |
withInfoType(java.lang.String infoType)
The type of information retrieved.
|
EnvironmentInfoDescription |
withMessage(java.lang.String message)
The retrieved information.
|
EnvironmentInfoDescription |
withSampleTimestamp(java.util.Date sampleTimestamp)
The time stamp when this information was retrieved.
|
private java.lang.String infoType
The type of information retrieved.
private java.lang.String ec2InstanceId
The Amazon EC2 Instance ID for this information.
private java.util.Date sampleTimestamp
The time stamp when this information was retrieved.
private java.lang.String message
The retrieved information.
public void setInfoType(java.lang.String infoType)
The type of information retrieved.
infoType
- The type of information retrieved.EnvironmentInfoType
public java.lang.String getInfoType()
The type of information retrieved.
EnvironmentInfoType
public EnvironmentInfoDescription withInfoType(java.lang.String infoType)
The type of information retrieved.
infoType
- The type of information retrieved.EnvironmentInfoType
public void setInfoType(EnvironmentInfoType infoType)
The type of information retrieved.
infoType
- The type of information retrieved.EnvironmentInfoType
public EnvironmentInfoDescription withInfoType(EnvironmentInfoType infoType)
The type of information retrieved.
infoType
- The type of information retrieved.EnvironmentInfoType
public void setEc2InstanceId(java.lang.String ec2InstanceId)
The Amazon EC2 Instance ID for this information.
ec2InstanceId
- The Amazon EC2 Instance ID for this information.public java.lang.String getEc2InstanceId()
The Amazon EC2 Instance ID for this information.
public EnvironmentInfoDescription withEc2InstanceId(java.lang.String ec2InstanceId)
The Amazon EC2 Instance ID for this information.
ec2InstanceId
- The Amazon EC2 Instance ID for this information.public void setSampleTimestamp(java.util.Date sampleTimestamp)
The time stamp when this information was retrieved.
sampleTimestamp
- The time stamp when this information was retrieved.public java.util.Date getSampleTimestamp()
The time stamp when this information was retrieved.
public EnvironmentInfoDescription withSampleTimestamp(java.util.Date sampleTimestamp)
The time stamp when this information was retrieved.
sampleTimestamp
- The time stamp when this information was retrieved.public void setMessage(java.lang.String message)
The retrieved information.
message
- The retrieved information.public java.lang.String getMessage()
The retrieved information.
public EnvironmentInfoDescription withMessage(java.lang.String message)
The retrieved information.
message
- The retrieved information.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public EnvironmentInfoDescription clone()
clone
in class java.lang.Object