Interface Statistics.Builder

    • Method Detail

      • aggregationEndTime

        Statistics.Builder aggregationEndTime​(Instant aggregationEndTime)

        The end time for the aggregation.

        Parameters:
        aggregationEndTime - The end time for the aggregation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • aggregationStartTime

        Statistics.Builder aggregationStartTime​(Instant aggregationStartTime)

        The start time for the aggregation.

        Parameters:
        aggregationStartTime - The start time for the aggregation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • costInUsd

        Statistics.Builder costInUsd​(Stats costInUsd)

        How the statistics should appear in USD. Options include: minimum, maximum, average or sum.

        Parameters:
        costInUsd - How the statistics should appear in USD. Options include: minimum, maximum, average or sum.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • count

        Statistics.Builder count​(Integer count)

        The number of instances in a list of statistics.

        Parameters:
        count - The number of instances in a list of statistics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fleetId

        Statistics.Builder fleetId​(String fleetId)

        The fleet ID.

        Parameters:
        fleetId - The fleet ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceType

        Statistics.Builder instanceType​(String instanceType)

        The type of instance.

        Parameters:
        instanceType - The type of instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobId

        Statistics.Builder jobId​(String jobId)

        The job ID.

        Parameters:
        jobId - The job ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobName

        Statistics.Builder jobName​(String jobName)

        The job name.

        Parameters:
        jobName - The job name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • licenseProduct

        Statistics.Builder licenseProduct​(String licenseProduct)

        The licensed product.

        Parameters:
        licenseProduct - The licensed product.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queueId

        Statistics.Builder queueId​(String queueId)

        The queue ID.

        Parameters:
        queueId - The queue ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • runtimeInSeconds

        Statistics.Builder runtimeInSeconds​(Stats runtimeInSeconds)

        The total aggregated runtime.

        Parameters:
        runtimeInSeconds - The total aggregated runtime.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • usageType

        Statistics.Builder usageType​(String usageType)

        The type of usage for the statistics.

        Parameters:
        usageType - The type of usage for the statistics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UsageType, UsageType
      • usageType

        Statistics.Builder usageType​(UsageType usageType)

        The type of usage for the statistics.

        Parameters:
        usageType - The type of usage for the statistics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UsageType, UsageType
      • userId

        Statistics.Builder userId​(String userId)

        The user ID.

        Parameters:
        userId - The user ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.