Class ObservabilityConfigurationAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.apprunner.alpha.ObservabilityConfigurationAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ObservabilityConfigurationAttributes>
- Enclosing interface:
ObservabilityConfigurationAttributes
@Stability(Experimental)
public static final class ObservabilityConfigurationAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<ObservabilityConfigurationAttributes>
A builder for
ObservabilityConfigurationAttributes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.observabilityConfigurationName
(String observabilityConfigurationName) Sets the value ofObservabilityConfigurationAttributes.getObservabilityConfigurationName()
observabilityConfigurationRevision
(Number observabilityConfigurationRevision)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
observabilityConfigurationName
@Stability(Experimental) public ObservabilityConfigurationAttributes.Builder observabilityConfigurationName(String observabilityConfigurationName) Sets the value ofObservabilityConfigurationAttributes.getObservabilityConfigurationName()
- Parameters:
observabilityConfigurationName
- The name of the Observability configuration. This parameter is required.- Returns:
this
-
observabilityConfigurationRevision
@Stability(Experimental) public ObservabilityConfigurationAttributes.Builder observabilityConfigurationRevision(Number observabilityConfigurationRevision) - Parameters:
observabilityConfigurationRevision
- The revision of the Observability configuration. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ObservabilityConfigurationAttributes>
- Returns:
- a new instance of
ObservabilityConfigurationAttributes
- Throws:
NullPointerException
- if any required attribute was not provided
-