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:
  • Constructor Details

    • TelemetryMetadata

      public TelemetryMetadata()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public TelemetryMetadata clone()
      Overrides:
      clone in class Object