#[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 ==
.impl StructuralPartialEq for ServiceObservabilityConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ServiceObservabilityConfigurationBuilder
impl RefUnwindSafe for ServiceObservabilityConfigurationBuilder
impl Send for ServiceObservabilityConfigurationBuilder
impl Sync for ServiceObservabilityConfigurationBuilder
impl Unpin for ServiceObservabilityConfigurationBuilder
impl UnwindSafe for ServiceObservabilityConfigurationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more