Class Sample

    • Constructor Detail

      • Sample

        public Sample()
    • Method Detail

      • setArn

        public void setArn​(String arn)

        The sample's ARN.

        Parameters:
        arn - The sample's ARN.
      • getArn

        public String getArn()

        The sample's ARN.

        Returns:
        The sample's ARN.
      • withArn

        public Sample withArn​(String arn)

        The sample's ARN.

        Parameters:
        arn - The sample's ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setType

        public void setType​(String type)

        The sample's type.

        Must be one of the following values:

        • CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage.

        • MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes.

        • NATIVE_AVG_DRAWTIME

        • NATIVE_FPS

        • NATIVE_FRAMES

        • NATIVE_MAX_DRAWTIME

        • NATIVE_MIN_DRAWTIME

        • OPENGL_AVG_DRAWTIME

        • OPENGL_FPS

        • OPENGL_FRAMES

        • OPENGL_MAX_DRAWTIME

        • OPENGL_MIN_DRAWTIME

        • RX

        • RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process.

        • THREADS: A threads sample type. This is expressed as the total number of threads per app process.

        • TX

        • TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process.

        Parameters:
        type - The sample's type.

        Must be one of the following values:

        • CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage.

        • MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes.

        • NATIVE_AVG_DRAWTIME

        • NATIVE_FPS

        • NATIVE_FRAMES

        • NATIVE_MAX_DRAWTIME

        • NATIVE_MIN_DRAWTIME

        • OPENGL_AVG_DRAWTIME

        • OPENGL_FPS

        • OPENGL_FRAMES

        • OPENGL_MAX_DRAWTIME

        • OPENGL_MIN_DRAWTIME

        • RX

        • RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process.

        • THREADS: A threads sample type. This is expressed as the total number of threads per app process.

        • TX

        • TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process.

        See Also:
        SampleType
      • getType

        public String getType()

        The sample's type.

        Must be one of the following values:

        • CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage.

        • MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes.

        • NATIVE_AVG_DRAWTIME

        • NATIVE_FPS

        • NATIVE_FRAMES

        • NATIVE_MAX_DRAWTIME

        • NATIVE_MIN_DRAWTIME

        • OPENGL_AVG_DRAWTIME

        • OPENGL_FPS

        • OPENGL_FRAMES

        • OPENGL_MAX_DRAWTIME

        • OPENGL_MIN_DRAWTIME

        • RX

        • RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process.

        • THREADS: A threads sample type. This is expressed as the total number of threads per app process.

        • TX

        • TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process.

        Returns:
        The sample's type.

        Must be one of the following values:

        • CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage.

        • MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes.

        • NATIVE_AVG_DRAWTIME

        • NATIVE_FPS

        • NATIVE_FRAMES

        • NATIVE_MAX_DRAWTIME

        • NATIVE_MIN_DRAWTIME

        • OPENGL_AVG_DRAWTIME

        • OPENGL_FPS

        • OPENGL_FRAMES

        • OPENGL_MAX_DRAWTIME

        • OPENGL_MIN_DRAWTIME

        • RX

        • RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process.

        • THREADS: A threads sample type. This is expressed as the total number of threads per app process.

        • TX

        • TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process.

        See Also:
        SampleType
      • withType

        public Sample withType​(String type)

        The sample's type.

        Must be one of the following values:

        • CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage.

        • MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes.

        • NATIVE_AVG_DRAWTIME

        • NATIVE_FPS

        • NATIVE_FRAMES

        • NATIVE_MAX_DRAWTIME

        • NATIVE_MIN_DRAWTIME

        • OPENGL_AVG_DRAWTIME

        • OPENGL_FPS

        • OPENGL_FRAMES

        • OPENGL_MAX_DRAWTIME

        • OPENGL_MIN_DRAWTIME

        • RX

        • RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process.

        • THREADS: A threads sample type. This is expressed as the total number of threads per app process.

        • TX

        • TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process.

        Parameters:
        type - The sample's type.

        Must be one of the following values:

        • CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage.

        • MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes.

        • NATIVE_AVG_DRAWTIME

        • NATIVE_FPS

        • NATIVE_FRAMES

        • NATIVE_MAX_DRAWTIME

        • NATIVE_MIN_DRAWTIME

        • OPENGL_AVG_DRAWTIME

        • OPENGL_FPS

        • OPENGL_FRAMES

        • OPENGL_MAX_DRAWTIME

        • OPENGL_MIN_DRAWTIME

        • RX

        • RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process.

        • THREADS: A threads sample type. This is expressed as the total number of threads per app process.

        • TX

        • TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SampleType
      • setType

        public void setType​(SampleType type)

        The sample's type.

        Must be one of the following values:

        • CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage.

        • MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes.

        • NATIVE_AVG_DRAWTIME

        • NATIVE_FPS

        • NATIVE_FRAMES

        • NATIVE_MAX_DRAWTIME

        • NATIVE_MIN_DRAWTIME

        • OPENGL_AVG_DRAWTIME

        • OPENGL_FPS

        • OPENGL_FRAMES

        • OPENGL_MAX_DRAWTIME

        • OPENGL_MIN_DRAWTIME

        • RX

        • RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process.

        • THREADS: A threads sample type. This is expressed as the total number of threads per app process.

        • TX

        • TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process.

        Parameters:
        type - The sample's type.

        Must be one of the following values:

        • CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage.

        • MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes.

        • NATIVE_AVG_DRAWTIME

        • NATIVE_FPS

        • NATIVE_FRAMES

        • NATIVE_MAX_DRAWTIME

        • NATIVE_MIN_DRAWTIME

        • OPENGL_AVG_DRAWTIME

        • OPENGL_FPS

        • OPENGL_FRAMES

        • OPENGL_MAX_DRAWTIME

        • OPENGL_MIN_DRAWTIME

        • RX

        • RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process.

        • THREADS: A threads sample type. This is expressed as the total number of threads per app process.

        • TX

        • TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process.

        See Also:
        SampleType
      • withType

        public Sample withType​(SampleType type)

        The sample's type.

        Must be one of the following values:

        • CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage.

        • MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes.

        • NATIVE_AVG_DRAWTIME

        • NATIVE_FPS

        • NATIVE_FRAMES

        • NATIVE_MAX_DRAWTIME

        • NATIVE_MIN_DRAWTIME

        • OPENGL_AVG_DRAWTIME

        • OPENGL_FPS

        • OPENGL_FRAMES

        • OPENGL_MAX_DRAWTIME

        • OPENGL_MIN_DRAWTIME

        • RX

        • RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process.

        • THREADS: A threads sample type. This is expressed as the total number of threads per app process.

        • TX

        • TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process.

        Parameters:
        type - The sample's type.

        Must be one of the following values:

        • CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage.

        • MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes.

        • NATIVE_AVG_DRAWTIME

        • NATIVE_FPS

        • NATIVE_FRAMES

        • NATIVE_MAX_DRAWTIME

        • NATIVE_MIN_DRAWTIME

        • OPENGL_AVG_DRAWTIME

        • OPENGL_FPS

        • OPENGL_FRAMES

        • OPENGL_MAX_DRAWTIME

        • OPENGL_MIN_DRAWTIME

        • RX

        • RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process.

        • THREADS: A threads sample type. This is expressed as the total number of threads per app process.

        • TX

        • TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SampleType
      • setUrl

        public void setUrl​(String url)

        The pre-signed Amazon S3 URL that can be used with a corresponding GET request to download the sample's file.

        Parameters:
        url - The pre-signed Amazon S3 URL that can be used with a corresponding GET request to download the sample's file.
      • getUrl

        public String getUrl()

        The pre-signed Amazon S3 URL that can be used with a corresponding GET request to download the sample's file.

        Returns:
        The pre-signed Amazon S3 URL that can be used with a corresponding GET request to download the sample's file.
      • withUrl

        public Sample withUrl​(String url)

        The pre-signed Amazon S3 URL that can be used with a corresponding GET request to download the sample's file.

        Parameters:
        url - The pre-signed Amazon S3 URL that can be used with a corresponding GET request to download the sample's file.
        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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object