Interface ListMetricsResponse.Builder

    • Method Detail

      • metrics

        ListMetricsResponse.Builder metrics​(Collection<Metric> metrics)

        The metrics that match your request.

        Parameters:
        metrics - The metrics that match your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metrics

        ListMetricsResponse.Builder metrics​(Metric... metrics)

        The metrics that match your request.

        Parameters:
        metrics - The metrics that match your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListMetricsResponse.Builder nextToken​(String nextToken)

        The token that marks the start of the next batch of returned results.

        Parameters:
        nextToken - The token that marks the start of the next batch of returned results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • owningAccounts

        ListMetricsResponse.Builder owningAccounts​(Collection<String> owningAccounts)

        If you are using this operation in a monitoring account, this array contains the account IDs of the source accounts where the metrics in the returned data are from.

        This field is a 1:1 mapping between each metric that is returned and the ID of the owning account.

        Parameters:
        owningAccounts - If you are using this operation in a monitoring account, this array contains the account IDs of the source accounts where the metrics in the returned data are from.

        This field is a 1:1 mapping between each metric that is returned and the ID of the owning account.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • owningAccounts

        ListMetricsResponse.Builder owningAccounts​(String... owningAccounts)

        If you are using this operation in a monitoring account, this array contains the account IDs of the source accounts where the metrics in the returned data are from.

        This field is a 1:1 mapping between each metric that is returned and the ID of the owning account.

        Parameters:
        owningAccounts - If you are using this operation in a monitoring account, this array contains the account IDs of the source accounts where the metrics in the returned data are from.

        This field is a 1:1 mapping between each metric that is returned and the ID of the owning account.

        Returns:
        Returns a reference to this object so that method calls can be chained together.