JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.computeoptimizer.model

Class GetEC2RecommendationProjectedMetricsRequest

    • Constructor Detail

      • GetEC2RecommendationProjectedMetricsRequest

        public GetEC2RecommendationProjectedMetricsRequest()
    • Method Detail

      • setInstanceArn

        public void setInstanceArn(String instanceArn)

        The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.

        Parameters:
        instanceArn - The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
      • getInstanceArn

        public String getInstanceArn()

        The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.

        Returns:
        The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
      • withInstanceArn

        public GetEC2RecommendationProjectedMetricsRequest withInstanceArn(String instanceArn)

        The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.

        Parameters:
        instanceArn - The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStat

        public void setStat(String stat)

        The statistic of the projected metrics.

        Parameters:
        stat - The statistic of the projected metrics.
        See Also:
        MetricStatistic
      • getStat

        public String getStat()

        The statistic of the projected metrics.

        Returns:
        The statistic of the projected metrics.
        See Also:
        MetricStatistic
      • setPeriod

        public void setPeriod(Integer period)

        The granularity, in seconds, of the projected metrics data points.

        Parameters:
        period - The granularity, in seconds, of the projected metrics data points.
      • getPeriod

        public Integer getPeriod()

        The granularity, in seconds, of the projected metrics data points.

        Returns:
        The granularity, in seconds, of the projected metrics data points.
      • withPeriod

        public GetEC2RecommendationProjectedMetricsRequest withPeriod(Integer period)

        The granularity, in seconds, of the projected metrics data points.

        Parameters:
        period - The granularity, in seconds, of the projected metrics data points.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStartTime

        public void setStartTime(Date startTime)

        The timestamp of the first projected metrics data point to return.

        Parameters:
        startTime - The timestamp of the first projected metrics data point to return.
      • getStartTime

        public Date getStartTime()

        The timestamp of the first projected metrics data point to return.

        Returns:
        The timestamp of the first projected metrics data point to return.
      • withStartTime

        public GetEC2RecommendationProjectedMetricsRequest withStartTime(Date startTime)

        The timestamp of the first projected metrics data point to return.

        Parameters:
        startTime - The timestamp of the first projected metrics data point to return.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEndTime

        public void setEndTime(Date endTime)

        The timestamp of the last projected metrics data point to return.

        Parameters:
        endTime - The timestamp of the last projected metrics data point to return.
      • getEndTime

        public Date getEndTime()

        The timestamp of the last projected metrics data point to return.

        Returns:
        The timestamp of the last projected metrics data point to return.
      • withEndTime

        public GetEC2RecommendationProjectedMetricsRequest withEndTime(Date endTime)

        The timestamp of the last projected metrics data point to return.

        Parameters:
        endTime - The timestamp of the last projected metrics data point to return.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRecommendationPreferences

        public void setRecommendationPreferences(RecommendationPreferences recommendationPreferences)

        An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.

        Parameters:
        recommendationPreferences - An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.
      • getRecommendationPreferences

        public RecommendationPreferences getRecommendationPreferences()

        An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.

        Returns:
        An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.
      • withRecommendationPreferences

        public GetEC2RecommendationProjectedMetricsRequest withRecommendationPreferences(RecommendationPreferences recommendationPreferences)

        An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.

        Parameters:
        recommendationPreferences - An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.
        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. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /