Class TelemetryMetadata
- java.lang.Object
-
- com.amazonaws.services.inspector.model.TelemetryMetadata
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class TelemetryMetadata extends Object implements Serializable, 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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TelemetryMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TelemetryMetadata
clone()
boolean
equals(Object obj)
Long
getCount()
The count of messages that the agent sends to the Amazon Inspector service.Long
getDataSize()
The data size of messages that the agent sends to the Amazon Inspector service.String
getMessageType()
A specific type of behavioral data that is collected by the agent.int
hashCode()
void
setCount(Long count)
The count of messages that the agent sends to the Amazon Inspector service.void
setDataSize(Long dataSize)
The data size of messages that the agent sends to the Amazon Inspector service.void
setMessageType(String messageType)
A specific type of behavioral data that is collected by the agent.String
toString()
Returns a string representation of this object; useful for testing and debugging.TelemetryMetadata
withCount(Long count)
The count of messages that the agent sends to the Amazon Inspector service.TelemetryMetadata
withDataSize(Long dataSize)
The data size of messages that the agent sends to the Amazon Inspector service.TelemetryMetadata
withMessageType(String messageType)
A specific type of behavioral data that is collected by the agent.
-
-
-
Method Detail
-
setMessageType
public void setMessageType(String messageType)
A specific type of behavioral data that is collected by the agent.
- Parameters:
messageType
- A specific type of behavioral data that is collected by the agent.
-
getMessageType
public String getMessageType()
A specific type of behavioral data that is collected by the agent.
- Returns:
- A specific type of behavioral data that is collected by the agent.
-
withMessageType
public TelemetryMetadata withMessageType(String messageType)
A specific type of behavioral data that is collected by the agent.
- Parameters:
messageType
- A specific type of behavioral data that is collected by the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCount
public void setCount(Long count)
The count of messages that the agent sends to the Amazon Inspector service.
- Parameters:
count
- The count of messages that the agent sends to the Amazon Inspector service.
-
getCount
public Long getCount()
The count of messages that the agent sends to the Amazon Inspector service.
- Returns:
- The count of messages that the agent sends to the Amazon Inspector service.
-
withCount
public TelemetryMetadata withCount(Long count)
The count of messages that the agent sends to the Amazon Inspector service.
- Parameters:
count
- The count of messages that the agent sends to the Amazon Inspector service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDataSize
public void setDataSize(Long dataSize)
The data size of messages that the agent sends to the Amazon Inspector service.
- Parameters:
dataSize
- The data size of messages that the agent sends to the Amazon Inspector service.
-
getDataSize
public Long getDataSize()
The data size of messages that the agent sends to the Amazon Inspector service.
- Returns:
- The data size of messages that the agent sends to the Amazon Inspector service.
-
withDataSize
public TelemetryMetadata withDataSize(Long dataSize)
The data size of messages that the agent sends to the Amazon Inspector service.
- Parameters:
dataSize
- The data size of messages that the agent sends to the Amazon Inspector service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TelemetryMetadata clone()
-
-