public class TelemetryMetadata
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The metadata about the Amazon Inspector application data metrics collected by the agent. This data type is used as the response element in the GetTelemetryMetadata action.
Modifier and Type | Field and Description |
---|---|
private java.lang.Long |
count
The count of messages that the agent sends to the Amazon Inspector
service.
|
private java.lang.Long |
dataSize
The data size of messages that the agent sends to the Amazon Inspector
service.
|
private java.lang.String |
messageType
A specific type of behavioral data that is collected by the agent.
|
Constructor and Description |
---|
TelemetryMetadata() |
Modifier and Type | Method and Description |
---|---|
TelemetryMetadata |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getCount()
The count of messages that the agent sends to the Amazon Inspector
service.
|
java.lang.Long |
getDataSize()
The data size of messages that the agent sends to the Amazon Inspector
service.
|
java.lang.String |
getMessageType()
A specific type of behavioral data that is collected by the agent.
|
int |
hashCode() |
void |
setCount(java.lang.Long count)
The count of messages that the agent sends to the Amazon Inspector
service.
|
void |
setDataSize(java.lang.Long dataSize)
The data size of messages that the agent sends to the Amazon Inspector
service.
|
void |
setMessageType(java.lang.String messageType)
A specific type of behavioral data that is collected by the agent.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TelemetryMetadata |
withCount(java.lang.Long count)
The count of messages that the agent sends to the Amazon Inspector
service.
|
TelemetryMetadata |
withDataSize(java.lang.Long dataSize)
The data size of messages that the agent sends to the Amazon Inspector
service.
|
TelemetryMetadata |
withMessageType(java.lang.String messageType)
A specific type of behavioral data that is collected by the agent.
|
private java.lang.String messageType
A specific type of behavioral data that is collected by the agent.
private java.lang.Long count
The count of messages that the agent sends to the Amazon Inspector service.
private java.lang.Long dataSize
The data size of messages that the agent sends to the Amazon Inspector service.
public void setMessageType(java.lang.String messageType)
A specific type of behavioral data that is collected by the agent.
messageType
- A specific type of behavioral data that is collected by the agent.public java.lang.String getMessageType()
A specific type of behavioral data that is collected by the agent.
public TelemetryMetadata withMessageType(java.lang.String messageType)
A specific type of behavioral data that is collected by the agent.
messageType
- A specific type of behavioral data that is collected by the agent.public void setCount(java.lang.Long count)
The count of messages that the agent sends to the Amazon Inspector service.
count
- The count of messages that the agent sends to the Amazon Inspector
service.public java.lang.Long getCount()
The count of messages that the agent sends to the Amazon Inspector service.
public TelemetryMetadata withCount(java.lang.Long count)
The count of messages that the agent sends to the Amazon Inspector service.
count
- The count of messages that the agent sends to the Amazon Inspector
service.public void setDataSize(java.lang.Long dataSize)
The data size of messages that the agent sends to the Amazon Inspector service.
dataSize
- The data size of messages that the agent sends to the Amazon
Inspector service.public java.lang.Long getDataSize()
The data size of messages that the agent sends to the Amazon Inspector service.
public TelemetryMetadata withDataSize(java.lang.Long dataSize)
The data size of messages that the agent sends to the Amazon Inspector service.
dataSize
- The data size of messages that the agent sends to the Amazon
Inspector service.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 TelemetryMetadata clone()
clone
in class java.lang.Object