Interface DescribeFleetMetricResponse.Builder

    • Method Detail

      • metricName

        DescribeFleetMetricResponse.Builder metricName​(String metricName)

        The name of the fleet metric to describe.

        Parameters:
        metricName - The name of the fleet metric to describe.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queryString

        DescribeFleetMetricResponse.Builder queryString​(String queryString)

        The search query string.

        Parameters:
        queryString - The search query string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • aggregationType

        DescribeFleetMetricResponse.Builder aggregationType​(AggregationType aggregationType)

        The type of the aggregation query.

        Parameters:
        aggregationType - The type of the aggregation query.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • period

        DescribeFleetMetricResponse.Builder period​(Integer period)

        The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.

        Parameters:
        period - The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • aggregationField

        DescribeFleetMetricResponse.Builder aggregationField​(String aggregationField)

        The field to aggregate.

        Parameters:
        aggregationField - The field to aggregate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        DescribeFleetMetricResponse.Builder description​(String description)

        The fleet metric description.

        Parameters:
        description - The fleet metric description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queryVersion

        DescribeFleetMetricResponse.Builder queryVersion​(String queryVersion)

        The query version.

        Parameters:
        queryVersion - The query version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • indexName

        DescribeFleetMetricResponse.Builder indexName​(String indexName)

        The name of the index to search.

        Parameters:
        indexName - The name of the index to search.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDate

        DescribeFleetMetricResponse.Builder creationDate​(Instant creationDate)

        The date when the fleet metric is created.

        Parameters:
        creationDate - The date when the fleet metric is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedDate

        DescribeFleetMetricResponse.Builder lastModifiedDate​(Instant lastModifiedDate)

        The date when the fleet metric is last modified.

        Parameters:
        lastModifiedDate - The date when the fleet metric is last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • version

        DescribeFleetMetricResponse.Builder version​(Long version)

        The version of the fleet metric.

        Parameters:
        version - The version of the fleet metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricArn

        DescribeFleetMetricResponse.Builder metricArn​(String metricArn)

        The ARN of the fleet metric to describe.

        Parameters:
        metricArn - The ARN of the fleet metric to describe.
        Returns:
        Returns a reference to this object so that method calls can be chained together.