JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

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.pi.model

Class GetResourceMetricsResult

    • Constructor Detail

      • GetResourceMetricsResult

        public GetResourceMetricsResult()
    • Method Detail

      • setAlignedStartTime

        public void setAlignedStartTime(Date alignedStartTime)

        The start time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedStartTime will be less than or equal to the value of the user-specified StartTime.

        Parameters:
        alignedStartTime - The start time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedStartTime will be less than or equal to the value of the user-specified StartTime.
      • getAlignedStartTime

        public Date getAlignedStartTime()

        The start time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedStartTime will be less than or equal to the value of the user-specified StartTime.

        Returns:
        The start time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedStartTime will be less than or equal to the value of the user-specified StartTime.
      • withAlignedStartTime

        public GetResourceMetricsResult withAlignedStartTime(Date alignedStartTime)

        The start time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedStartTime will be less than or equal to the value of the user-specified StartTime.

        Parameters:
        alignedStartTime - The start time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedStartTime will be less than or equal to the value of the user-specified StartTime.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAlignedEndTime

        public void setAlignedEndTime(Date alignedEndTime)

        The end time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedEndTime will be greater than or equal to the value of the user-specified Endtime.

        Parameters:
        alignedEndTime - The end time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedEndTime will be greater than or equal to the value of the user-specified Endtime.
      • getAlignedEndTime

        public Date getAlignedEndTime()

        The end time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedEndTime will be greater than or equal to the value of the user-specified Endtime.

        Returns:
        The end time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedEndTime will be greater than or equal to the value of the user-specified Endtime.
      • withAlignedEndTime

        public GetResourceMetricsResult withAlignedEndTime(Date alignedEndTime)

        The end time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedEndTime will be greater than or equal to the value of the user-specified Endtime.

        Parameters:
        alignedEndTime - The end time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedEndTime will be greater than or equal to the value of the user-specified Endtime.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIdentifier

        public void setIdentifier(String identifier)

        An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. In the console, the identifier is shown as ResourceID. When you call DescribeDBInstances, the identifier is returned as DbiResourceId.

        Parameters:
        identifier - An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. In the console, the identifier is shown as ResourceID. When you call DescribeDBInstances, the identifier is returned as DbiResourceId.
      • getIdentifier

        public String getIdentifier()

        An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. In the console, the identifier is shown as ResourceID. When you call DescribeDBInstances, the identifier is returned as DbiResourceId.

        Returns:
        An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. In the console, the identifier is shown as ResourceID. When you call DescribeDBInstances, the identifier is returned as DbiResourceId.
      • withIdentifier

        public GetResourceMetricsResult withIdentifier(String identifier)

        An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. In the console, the identifier is shown as ResourceID. When you call DescribeDBInstances, the identifier is returned as DbiResourceId.

        Parameters:
        identifier - An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. In the console, the identifier is shown as ResourceID. When you call DescribeDBInstances, the identifier is returned as DbiResourceId.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getMetricList

        public List<MetricKeyDataPoints> getMetricList()

        An array of metric results, where each array element contains all of the data points for a particular dimension.

        Returns:
        An array of metric results, where each array element contains all of the data points for a particular dimension.
      • setMetricList

        public void setMetricList(Collection<MetricKeyDataPoints> metricList)

        An array of metric results, where each array element contains all of the data points for a particular dimension.

        Parameters:
        metricList - An array of metric results, where each array element contains all of the data points for a particular dimension.
      • withMetricList

        public GetResourceMetricsResult withMetricList(MetricKeyDataPoints... metricList)

        An array of metric results, where each array element contains all of the data points for a particular dimension.

        NOTE: This method appends the values to the existing list (if any). Use setMetricList(java.util.Collection) or withMetricList(java.util.Collection) if you want to override the existing values.

        Parameters:
        metricList - An array of metric results, where each array element contains all of the data points for a particular dimension.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withMetricList

        public GetResourceMetricsResult withMetricList(Collection<MetricKeyDataPoints> metricList)

        An array of metric results, where each array element contains all of the data points for a particular dimension.

        Parameters:
        metricList - An array of metric results, where each array element contains all of the data points for a particular dimension.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextToken

        public void setNextToken(String nextToken)

        An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.

        Parameters:
        nextToken - An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.
      • getNextToken

        public String getNextToken()

        An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.

        Returns:
        An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.
      • withNextToken

        public GetResourceMetricsResult withNextToken(String nextToken)

        An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.

        Parameters:
        nextToken - An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.
        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 によって変換されたページ (->オリジナル) /