Interface AzureScopeItem.Builder

  • Method Details

    • telemetryTypesWithStrings

      AzureScopeItem.Builder telemetryTypesWithStrings(Collection<String> telemetryTypes)

      The telemetry types to collect.

      Parameters:
      telemetryTypes - The telemetry types to collect.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • telemetryTypesWithStrings

      AzureScopeItem.Builder telemetryTypesWithStrings(String... telemetryTypes)

      The telemetry types to collect.

      Parameters:
      telemetryTypes - The telemetry types to collect.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • telemetryTypes

      AzureScopeItem.Builder telemetryTypes(Collection<AzureTelemetryType> telemetryTypes)

      The telemetry types to collect.

      Parameters:
      telemetryTypes - The telemetry types to collect.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • telemetryTypes

      AzureScopeItem.Builder telemetryTypes(AzureTelemetryType... telemetryTypes)

      The telemetry types to collect.

      Parameters:
      telemetryTypes - The telemetry types to collect.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scope

      The Azure resources to collect telemetry from.

      Parameters:
      scope - The Azure resources to collect telemetry from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scope

      The Azure resources to collect telemetry from.

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

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

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