Interface ObservabilityConfiguration.Builder

  • Method Details

    • observabilityConfigurationArn

      ObservabilityConfiguration.Builder observabilityConfigurationArn(String observabilityConfigurationArn)

      The Amazon Resource Name (ARN) of this observability configuration.

      Parameters:
      observabilityConfigurationArn - The Amazon Resource Name (ARN) of this observability configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • observabilityConfigurationName

      ObservabilityConfiguration.Builder observabilityConfigurationName(String observabilityConfigurationName)

      The customer-provided observability configuration name. It can be used in multiple revisions of a configuration.

      Parameters:
      observabilityConfigurationName - The customer-provided observability configuration name. It can be used in multiple revisions of a configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • traceConfiguration

      ObservabilityConfiguration.Builder traceConfiguration(TraceConfiguration traceConfiguration)

      The configuration of the tracing feature within this observability configuration. If not specified, tracing isn't enabled.

      Parameters:
      traceConfiguration - The configuration of the tracing feature within this observability configuration. If not specified, tracing isn't enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • traceConfiguration

      default ObservabilityConfiguration.Builder traceConfiguration(Consumer<TraceConfiguration.Builder> traceConfiguration)

      The configuration of the tracing feature within this observability configuration. If not specified, tracing isn't enabled.

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

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

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

      ObservabilityConfiguration.Builder observabilityConfigurationRevision(Integer observabilityConfigurationRevision)

      The revision of this observability configuration. It's unique among all the active configurations ( "Status": "ACTIVE") that share the same ObservabilityConfigurationName.

      Parameters:
      observabilityConfigurationRevision - The revision of this observability configuration. It's unique among all the active configurations ( "Status": "ACTIVE") that share the same ObservabilityConfigurationName.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latest

      It's set to true for the configuration with the highest Revision among all configurations that share the same ObservabilityConfigurationName. It's set to false otherwise.

      Parameters:
      latest - It's set to true for the configuration with the highest Revision among all configurations that share the same ObservabilityConfigurationName. It's set to false otherwise.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current state of the observability configuration. If the status of a configuration revision is INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.

      Parameters:
      status - The current state of the observability configuration. If the status of a configuration revision is INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current state of the observability configuration. If the status of a configuration revision is INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.

      Parameters:
      status - The current state of the observability configuration. If the status of a configuration revision is INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      The time when the observability configuration was created. It's in Unix time stamp format.

      Parameters:
      createdAt - The time when the observability configuration was created. It's in Unix time stamp format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deletedAt

      The time when the observability configuration was deleted. It's in Unix time stamp format.

      Parameters:
      deletedAt - The time when the observability configuration was deleted. It's in Unix time stamp format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.