Class ObservabilityConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.apprunner.alpha.ObservabilityConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ObservabilityConfigurationProps>
- Enclosing interface:
ObservabilityConfigurationProps
@Stability(Experimental)
public static final class ObservabilityConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<ObservabilityConfigurationProps>
A builder for
ObservabilityConfigurationProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.observabilityConfigurationName
(String observabilityConfigurationName) Sets the value ofObservabilityConfigurationProps.getObservabilityConfigurationName()
traceConfigurationVendor
(TraceConfigurationVendor traceConfigurationVendor) Sets the value ofObservabilityConfigurationProps.getTraceConfigurationVendor()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
traceConfigurationVendor
@Stability(Experimental) public ObservabilityConfigurationProps.Builder traceConfigurationVendor(TraceConfigurationVendor traceConfigurationVendor) Sets the value ofObservabilityConfigurationProps.getTraceConfigurationVendor()
- Parameters:
traceConfigurationVendor
- The implementation provider chosen for tracing App Runner services. This parameter is required.- Returns:
this
-
observabilityConfigurationName
@Stability(Experimental) public ObservabilityConfigurationProps.Builder observabilityConfigurationName(String observabilityConfigurationName) Sets the value ofObservabilityConfigurationProps.getObservabilityConfigurationName()
- Parameters:
observabilityConfigurationName
- The name for the ObservabilityConfiguration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ObservabilityConfigurationProps>
- Returns:
- a new instance of
ObservabilityConfigurationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-