Struct aws_sdk_xray::input::update_sampling_rule_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateSamplingRuleInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn sampling_rule_update(self, input: SamplingRuleUpdate) -> Self
pub fn sampling_rule_update(self, input: SamplingRuleUpdate) -> Self
The rule and fields to change.
sourcepub fn set_sampling_rule_update(self, input: Option<SamplingRuleUpdate>) -> Self
pub fn set_sampling_rule_update(self, input: Option<SamplingRuleUpdate>) -> Self
The rule and fields to change.
sourcepub fn build(self) -> Result<UpdateSamplingRuleInput, BuildError>
pub fn build(self) -> Result<UpdateSamplingRuleInput, BuildError>
Consumes the builder and constructs a UpdateSamplingRuleInput
.