Interface GetMetricRequest.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.
    • metricId

      GetMetricRequest.Builder metricId(String metricId)

      The ID of the metric to retrieve.

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

      The offering stage to read the metric from: DRAFT (the latest draft) or PUBLISHED (the offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox.

      Parameters:
      stage - The offering stage to read the metric from: DRAFT (the latest draft) or PUBLISHED (the offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stage

      The offering stage to read the metric from: DRAFT (the latest draft) or PUBLISHED (the offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox.

      Parameters:
      stage - The offering stage to read the metric from: DRAFT (the latest draft) or PUBLISHED (the offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox.
      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.

      Parameters:
      scope - Required. The environment: live or sandbox. live reads the published offering by default; sandbox reads the app's draft.
      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.

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

      GetMetricRequest.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.