Interface CreateObservabilityConfigurationRequest.Builder

    • Method Detail

      • 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

        CreateObservabilityConfigurationRequest.Builder traceConfiguration​(TraceConfiguration 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.
      • tags

        CreateObservabilityConfigurationRequest.Builder tags​(Collection<Tag> 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

        CreateObservabilityConfigurationRequest.Builder tags​(Tag... 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

        CreateObservabilityConfigurationRequest.Builder tags​(Consumer<Tag.Builder>... 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).

        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:
        #tags(java.util.Collection)