#[non_exhaustive]pub struct ServiceObservabilityConfigurationBuilder { /* private fields */ }Expand description
A builder for ServiceObservabilityConfiguration.
Implementations§
source§impl ServiceObservabilityConfigurationBuilder
 
impl ServiceObservabilityConfigurationBuilder
sourcepub fn observability_enabled(self, input: bool) -> Self
 
pub fn observability_enabled(self, input: bool) -> Self
When true, an observability configuration resource is associated with the service, and an ObservabilityConfigurationArn is specified.
sourcepub fn set_observability_enabled(self, input: Option<bool>) -> Self
 
pub fn set_observability_enabled(self, input: Option<bool>) -> Self
When true, an observability configuration resource is associated with the service, and an ObservabilityConfigurationArn is specified.
sourcepub fn get_observability_enabled(&self) -> &Option<bool>
 
pub fn get_observability_enabled(&self) -> &Option<bool>
When true, an observability configuration resource is associated with the service, and an ObservabilityConfigurationArn is specified.
sourcepub fn observability_configuration_arn(self, input: impl Into<String>) -> Self
 
pub fn observability_configuration_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the observability configuration that is associated with the service. Specified only when ObservabilityEnabled is true.
Specify an ARN with a name and a revision number to associate that revision. For example: arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3 
Specify just the name to associate the latest revision. For example: arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing 
sourcepub fn set_observability_configuration_arn(self, input: Option<String>) -> Self
 
pub fn set_observability_configuration_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the observability configuration that is associated with the service. Specified only when ObservabilityEnabled is true.
Specify an ARN with a name and a revision number to associate that revision. For example: arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3 
Specify just the name to associate the latest revision. For example: arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing 
sourcepub fn get_observability_configuration_arn(&self) -> &Option<String>
 
pub fn get_observability_configuration_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the observability configuration that is associated with the service. Specified only when ObservabilityEnabled is true.
Specify an ARN with a name and a revision number to associate that revision. For example: arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3 
Specify just the name to associate the latest revision. For example: arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing 
sourcepub fn build(self) -> ServiceObservabilityConfiguration
 
pub fn build(self) -> ServiceObservabilityConfiguration
Consumes the builder and constructs a ServiceObservabilityConfiguration.
Trait Implementations§
source§impl Clone for ServiceObservabilityConfigurationBuilder
 
impl Clone for ServiceObservabilityConfigurationBuilder
source§fn clone(&self) -> ServiceObservabilityConfigurationBuilder
 
fn clone(&self) -> ServiceObservabilityConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ServiceObservabilityConfigurationBuilder
 
impl Default for ServiceObservabilityConfigurationBuilder
source§fn default() -> ServiceObservabilityConfigurationBuilder
 
fn default() -> ServiceObservabilityConfigurationBuilder
source§impl PartialEq for ServiceObservabilityConfigurationBuilder
 
impl PartialEq for ServiceObservabilityConfigurationBuilder
source§fn eq(&self, other: &ServiceObservabilityConfigurationBuilder) -> bool
 
fn eq(&self, other: &ServiceObservabilityConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.