@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentStatusData extends Object implements Serializable, Cloneable, StructuredPojo
Data on the status of agent components.
Constructor and Description |
---|
ComponentStatusData() |
Modifier and Type | Method and Description |
---|---|
ComponentStatusData |
clone() |
boolean |
equals(Object obj) |
Long |
getBytesReceived()
Bytes received by the component.
|
Long |
getBytesSent()
Bytes sent by the component.
|
String |
getCapabilityArn()
Capability ARN of the component.
|
String |
getComponentType()
The Component type.
|
String |
getDataflowId()
Dataflow UUID associated with the component.
|
Long |
getPacketsDropped()
Packets dropped by component.
|
String |
getStatus()
Component status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBytesReceived(Long bytesReceived)
Bytes received by the component.
|
void |
setBytesSent(Long bytesSent)
Bytes sent by the component.
|
void |
setCapabilityArn(String capabilityArn)
Capability ARN of the component.
|
void |
setComponentType(String componentType)
The Component type.
|
void |
setDataflowId(String dataflowId)
Dataflow UUID associated with the component.
|
void |
setPacketsDropped(Long packetsDropped)
Packets dropped by component.
|
void |
setStatus(String status)
Component status.
|
String |
toString()
Returns a string representation of this object.
|
ComponentStatusData |
withBytesReceived(Long bytesReceived)
Bytes received by the component.
|
ComponentStatusData |
withBytesSent(Long bytesSent)
Bytes sent by the component.
|
ComponentStatusData |
withCapabilityArn(String capabilityArn)
Capability ARN of the component.
|
ComponentStatusData |
withComponentType(String componentType)
The Component type.
|
ComponentStatusData |
withDataflowId(String dataflowId)
Dataflow UUID associated with the component.
|
ComponentStatusData |
withPacketsDropped(Long packetsDropped)
Packets dropped by component.
|
ComponentStatusData |
withStatus(AgentStatus status)
Component status.
|
ComponentStatusData |
withStatus(String status)
Component status.
|
public void setBytesReceived(Long bytesReceived)
Bytes received by the component.
bytesReceived
- Bytes received by the component.public Long getBytesReceived()
Bytes received by the component.
public ComponentStatusData withBytesReceived(Long bytesReceived)
Bytes received by the component.
bytesReceived
- Bytes received by the component.public void setBytesSent(Long bytesSent)
Bytes sent by the component.
bytesSent
- Bytes sent by the component.public Long getBytesSent()
Bytes sent by the component.
public ComponentStatusData withBytesSent(Long bytesSent)
Bytes sent by the component.
bytesSent
- Bytes sent by the component.public void setCapabilityArn(String capabilityArn)
Capability ARN of the component.
capabilityArn
- Capability ARN of the component.public String getCapabilityArn()
Capability ARN of the component.
public ComponentStatusData withCapabilityArn(String capabilityArn)
Capability ARN of the component.
capabilityArn
- Capability ARN of the component.public void setComponentType(String componentType)
The Component type.
componentType
- The Component type.public String getComponentType()
The Component type.
public ComponentStatusData withComponentType(String componentType)
The Component type.
componentType
- The Component type.public void setDataflowId(String dataflowId)
Dataflow UUID associated with the component.
dataflowId
- Dataflow UUID associated with the component.public String getDataflowId()
Dataflow UUID associated with the component.
public ComponentStatusData withDataflowId(String dataflowId)
Dataflow UUID associated with the component.
dataflowId
- Dataflow UUID associated with the component.public void setPacketsDropped(Long packetsDropped)
Packets dropped by component.
packetsDropped
- Packets dropped by component.public Long getPacketsDropped()
Packets dropped by component.
public ComponentStatusData withPacketsDropped(Long packetsDropped)
Packets dropped by component.
packetsDropped
- Packets dropped by component.public void setStatus(String status)
Component status.
status
- Component status.AgentStatus
public String getStatus()
Component status.
AgentStatus
public ComponentStatusData withStatus(String status)
Component status.
status
- Component status.AgentStatus
public ComponentStatusData withStatus(AgentStatus status)
Component status.
status
- Component status.AgentStatus
public String toString()
toString
in class Object
Object.toString()
public ComponentStatusData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.