Interface ListMetricsRequest.Builder

  • Method Details

    • appId

      The ID of the app.

      Parameters:
      appId - The ID of the app.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stage

      The offering stage to list metrics from: DRAFT (the latest authored draft) or PUBLISHED (the published offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox. A stage with nothing published lists as empty.

      Parameters:
      stage - The offering stage to list metrics from: DRAFT (the latest authored draft) or PUBLISHED (the published offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox. A stage with nothing published lists as empty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stage

      The offering stage to list metrics from: DRAFT (the latest authored draft) or PUBLISHED (the published offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox. A stage with nothing published lists as empty.

      Parameters:
      stage - The offering stage to list metrics from: DRAFT (the latest authored draft) or PUBLISHED (the published offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox. A stage with nothing published lists as empty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • maxResults

      ListMetricsRequest.Builder maxResults(Integer maxResults)

      The maximum number of items to return in a single page. Valid range is 1 to 100.

      Parameters:
      maxResults - The maximum number of items to return in a single page. Valid range is 1 to 100.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListMetricsRequest.Builder nextToken(String nextToken)

      An opaque pagination token. Pass the value returned in a response back on the next request to retrieve the following page; absent when there are no more results.

      Parameters:
      nextToken - An opaque pagination token. Pass the value returned in a response back on the next request to retrieve the following page; absent when there are no more results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scope

      Required. The environment: live or sandbox. live reads the published offering by default; sandbox reads the app's draft (what the sandbox runs).

      Parameters:
      scope - Required. The environment: live or sandbox. live reads the published offering by default; sandbox reads the app's draft (what the sandbox runs).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scope

      Required. The environment: live or sandbox. live reads the published offering by default; sandbox reads the app's draft (what the sandbox runs).

      Parameters:
      scope - Required. The environment: live or sandbox. live reads the published offering by default; sandbox reads the app's draft (what the sandbox runs).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      ListMetricsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.