Interface CreateObservabilityConfigurationRequest.Builder

All Superinterfaces:
AppRunnerRequest.Builder, AwsRequest.Builder, Buildable, CopyableBuilder<CreateObservabilityConfigurationRequest.Builder,CreateObservabilityConfigurationRequest>, SdkBuilder<CreateObservabilityConfigurationRequest.Builder,CreateObservabilityConfigurationRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateObservabilityConfigurationRequest

  • Method Details

    • observabilityConfigurationName

      CreateObservabilityConfigurationRequest.Builder observabilityConfigurationName(String observabilityConfigurationName)

      A name for the observability configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.

      The name DefaultConfiguration is reserved. You can't use it to create a new observability configuration, and you can't create a revision of it.

      When you want to use your own observability configuration for your App Runner service, create a configuration with a different name, and then provide it when you create or update your service.

      Parameters:
      observabilityConfigurationName - A name for the observability configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.

      The name DefaultConfiguration is reserved. You can't use it to create a new observability configuration, and you can't create a revision of it.

      When you want to use your own observability configuration for your App Runner service, create a configuration with a different name, and then provide it when you create or update your service.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • traceConfiguration

      The configuration of the tracing feature within this observability configuration. If you don't specify it, App Runner doesn't enable tracing.

      Parameters:
      traceConfiguration - The configuration of the tracing feature within this observability configuration. If you don't specify it, App Runner doesn't enable tracing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • traceConfiguration

      The configuration of the tracing feature within this observability configuration. If you don't specify it, App Runner doesn't enable tracing.

      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:
    • tags

      A list of metadata items that you can associate with your observability configuration resource. A tag is a key-value pair.

      Parameters:
      tags - A list of metadata items that you can associate with your observability configuration resource. A tag is a key-value pair.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of metadata items that you can associate with your observability configuration resource. A tag is a key-value pair.

      Parameters:
      tags - A list of metadata items that you can associate with your observability configuration resource. A tag is a key-value pair.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of metadata items that you can associate with your observability configuration resource. A tag is a key-value pair.

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

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

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.