Interface CompositeSliConfig.Builder

  • Method Details

    • selectionConfig

      CompositeSliConfig.Builder selectionConfig(SelectionConfig selectionConfig)

      Specifies how operations are selected for this service-level SLO. Operations can be selected explicitly by listing them, by specifying a prefix to match operation names, or by providing a regular expression pattern.

      Parameters:
      selectionConfig - Specifies how operations are selected for this service-level SLO. Operations can be selected explicitly by listing them, by specifying a prefix to match operation names, or by providing a regular expression pattern.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • selectionConfig

      default CompositeSliConfig.Builder selectionConfig(Consumer<SelectionConfig.Builder> selectionConfig)

      Specifies how operations are selected for this service-level SLO. Operations can be selected explicitly by listing them, by specifying a prefix to match operation names, or by providing a regular expression pattern.

      This is a convenience method that creates an instance of the SelectionConfig.Builder avoiding the need to create one manually via SelectionConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to selectionConfig(SelectionConfig).

      Parameters:
      selectionConfig - a consumer that will call methods on SelectionConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • components

      The list of operations included in this composite SLI. You must specify between 2 and 20 components. Each component is a CompositeSliComponent that identifies a single operation by its OperationName.

      Parameters:
      components - The list of operations included in this composite SLI. You must specify between 2 and 20 components. Each component is a CompositeSliComponent that identifies a single operation by its OperationName.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • components

      The list of operations included in this composite SLI. You must specify between 2 and 20 components. Each component is a CompositeSliComponent that identifies a single operation by its OperationName.

      Parameters:
      components - The list of operations included in this composite SLI. You must specify between 2 and 20 components. Each component is a CompositeSliComponent that identifies a single operation by its OperationName.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • components

      The list of operations included in this composite SLI. You must specify between 2 and 20 components. Each component is a CompositeSliComponent that identifies a single operation by its OperationName.

      This is a convenience method that creates an instance of the CompositeSliComponent.Builder avoiding the need to create one manually via CompositeSliComponent.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to components(List<CompositeSliComponent>).

      Parameters:
      components - a consumer that will call methods on CompositeSliComponent.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: