Interface ListMetricsRequest.Builder

  • Method Details

    • instanceId

      ListMetricsRequest.Builder instanceId(String instanceId)

      The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

      Parameters:
      instanceId - The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of metrics to list. Valid values: AWS_MANAGED | CUSTOMER_MANAGED.

      Parameters:
      type - The type of metrics to list. Valid values: AWS_MANAGED | CUSTOMER_MANAGED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of metrics to list. Valid values: AWS_MANAGED | CUSTOMER_MANAGED.

      Parameters:
      type - The type of metrics to list. Valid values: AWS_MANAGED | CUSTOMER_MANAGED.
      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 results to return per page.

      Parameters:
      maxResults - The maximum number of results to return per page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListMetricsRequest.Builder nextToken(String nextToken)

      The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

      Parameters:
      nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.