@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Collector extends Object implements Serializable, Cloneable, StructuredPojo
Process data collector that runs in the environment that you specify.
Constructor and Description |
---|
Collector() |
Modifier and Type | Method and Description |
---|---|
Collector |
clone() |
boolean |
equals(Object obj) |
String |
getCollectorHealth()
Indicates the health of a collector.
|
String |
getCollectorId()
The ID of the collector.
|
String |
getCollectorVersion()
Current version of the collector that is running in the environment that you specify.
|
String |
getHostName()
Hostname of the server that is hosting the collector.
|
String |
getIpAddress()
IP address of the server that is hosting the collector.
|
String |
getLastActivityTimeStamp()
Time when the collector last pinged the service.
|
String |
getRegisteredTimeStamp()
Time when the collector registered with the service.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCollectorHealth(String collectorHealth)
Indicates the health of a collector.
|
void |
setCollectorId(String collectorId)
The ID of the collector.
|
void |
setCollectorVersion(String collectorVersion)
Current version of the collector that is running in the environment that you specify.
|
void |
setHostName(String hostName)
Hostname of the server that is hosting the collector.
|
void |
setIpAddress(String ipAddress)
IP address of the server that is hosting the collector.
|
void |
setLastActivityTimeStamp(String lastActivityTimeStamp)
Time when the collector last pinged the service.
|
void |
setRegisteredTimeStamp(String registeredTimeStamp)
Time when the collector registered with the service.
|
String |
toString()
Returns a string representation of this object.
|
Collector |
withCollectorHealth(CollectorHealth collectorHealth)
Indicates the health of a collector.
|
Collector |
withCollectorHealth(String collectorHealth)
Indicates the health of a collector.
|
Collector |
withCollectorId(String collectorId)
The ID of the collector.
|
Collector |
withCollectorVersion(String collectorVersion)
Current version of the collector that is running in the environment that you specify.
|
Collector |
withHostName(String hostName)
Hostname of the server that is hosting the collector.
|
Collector |
withIpAddress(String ipAddress)
IP address of the server that is hosting the collector.
|
Collector |
withLastActivityTimeStamp(String lastActivityTimeStamp)
Time when the collector last pinged the service.
|
Collector |
withRegisteredTimeStamp(String registeredTimeStamp)
Time when the collector registered with the service.
|
public void setCollectorHealth(String collectorHealth)
Indicates the health of a collector.
collectorHealth
- Indicates the health of a collector.CollectorHealth
public String getCollectorHealth()
Indicates the health of a collector.
CollectorHealth
public Collector withCollectorHealth(String collectorHealth)
Indicates the health of a collector.
collectorHealth
- Indicates the health of a collector.CollectorHealth
public Collector withCollectorHealth(CollectorHealth collectorHealth)
Indicates the health of a collector.
collectorHealth
- Indicates the health of a collector.CollectorHealth
public void setCollectorId(String collectorId)
The ID of the collector.
collectorId
- The ID of the collector.public String getCollectorId()
The ID of the collector.
public Collector withCollectorId(String collectorId)
The ID of the collector.
collectorId
- The ID of the collector.public void setCollectorVersion(String collectorVersion)
Current version of the collector that is running in the environment that you specify.
collectorVersion
- Current version of the collector that is running in the environment that you specify.public String getCollectorVersion()
Current version of the collector that is running in the environment that you specify.
public Collector withCollectorVersion(String collectorVersion)
Current version of the collector that is running in the environment that you specify.
collectorVersion
- Current version of the collector that is running in the environment that you specify.public void setHostName(String hostName)
Hostname of the server that is hosting the collector.
hostName
- Hostname of the server that is hosting the collector.public String getHostName()
Hostname of the server that is hosting the collector.
public Collector withHostName(String hostName)
Hostname of the server that is hosting the collector.
hostName
- Hostname of the server that is hosting the collector.public void setIpAddress(String ipAddress)
IP address of the server that is hosting the collector.
ipAddress
- IP address of the server that is hosting the collector.public String getIpAddress()
IP address of the server that is hosting the collector.
public Collector withIpAddress(String ipAddress)
IP address of the server that is hosting the collector.
ipAddress
- IP address of the server that is hosting the collector.public void setLastActivityTimeStamp(String lastActivityTimeStamp)
Time when the collector last pinged the service.
lastActivityTimeStamp
- Time when the collector last pinged the service.public String getLastActivityTimeStamp()
Time when the collector last pinged the service.
public Collector withLastActivityTimeStamp(String lastActivityTimeStamp)
Time when the collector last pinged the service.
lastActivityTimeStamp
- Time when the collector last pinged the service.public void setRegisteredTimeStamp(String registeredTimeStamp)
Time when the collector registered with the service.
registeredTimeStamp
- Time when the collector registered with the service.public String getRegisteredTimeStamp()
Time when the collector registered with the service.
public Collector withRegisteredTimeStamp(String registeredTimeStamp)
Time when the collector registered with the service.
registeredTimeStamp
- Time when the collector registered with the service.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.