public class EnvironmentInfoDescription extends Object implements Serializable
The information retrieved from the Amazon EC2 instances.
| Constructor and Description |
|---|
EnvironmentInfoDescription()
Default constructor for a new EnvironmentInfoDescription object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getEc2InstanceId()
The Amazon EC2 Instance ID for this information.
|
String |
getInfoType()
The type of information retrieved.
|
String |
getMessage()
The retrieved information.
|
Date |
getSampleTimestamp()
The time stamp when this information was retrieved.
|
int |
hashCode() |
void |
setEc2InstanceId(String ec2InstanceId)
The Amazon EC2 Instance ID for this information.
|
void |
setInfoType(EnvironmentInfoType infoType)
The type of information retrieved.
|
void |
setInfoType(String infoType)
The type of information retrieved.
|
void |
setMessage(String message)
The retrieved information.
|
void |
setSampleTimestamp(Date sampleTimestamp)
The time stamp when this information was retrieved.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EnvironmentInfoDescription |
withEc2InstanceId(String ec2InstanceId)
The Amazon EC2 Instance ID for this information.
|
EnvironmentInfoDescription |
withInfoType(EnvironmentInfoType infoType)
The type of information retrieved.
|
EnvironmentInfoDescription |
withInfoType(String infoType)
The type of information retrieved.
|
EnvironmentInfoDescription |
withMessage(String message)
The retrieved information.
|
EnvironmentInfoDescription |
withSampleTimestamp(Date sampleTimestamp)
The time stamp when this information was retrieved.
|
public EnvironmentInfoDescription()
public String getInfoType()
Constraints:
Allowed Values: tail
EnvironmentInfoTypepublic void setInfoType(String infoType)
Constraints:
Allowed Values: tail
infoType - The type of information retrieved.EnvironmentInfoTypepublic EnvironmentInfoDescription withInfoType(String infoType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: tail
infoType - The type of information retrieved.EnvironmentInfoTypepublic void setInfoType(EnvironmentInfoType infoType)
Constraints:
Allowed Values: tail
infoType - The type of information retrieved.EnvironmentInfoTypepublic EnvironmentInfoDescription withInfoType(EnvironmentInfoType infoType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: tail
infoType - The type of information retrieved.EnvironmentInfoTypepublic String getEc2InstanceId()
public void setEc2InstanceId(String ec2InstanceId)
ec2InstanceId - The Amazon EC2 Instance ID for this information.public EnvironmentInfoDescription withEc2InstanceId(String ec2InstanceId)
Returns a reference to this object so that method calls can be chained together.
ec2InstanceId - The Amazon EC2 Instance ID for this information.public Date getSampleTimestamp()
public void setSampleTimestamp(Date sampleTimestamp)
sampleTimestamp - The time stamp when this information was retrieved.public EnvironmentInfoDescription withSampleTimestamp(Date sampleTimestamp)
Returns a reference to this object so that method calls can be chained together.
sampleTimestamp - The time stamp when this information was retrieved.public String getMessage()
public void setMessage(String message)
message - The retrieved information.public EnvironmentInfoDescription withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message - The retrieved information.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.