Struct aws_sdk_xray::input::delete_sampling_rule_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteSamplingRuleInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn rule_name(self, input: impl Into<String>) -> Self
pub fn rule_name(self, input: impl Into<String>) -> Self
The name of the sampling rule. Specify a rule by either name or ARN, but not both.
sourcepub fn set_rule_name(self, input: Option<String>) -> Self
pub fn set_rule_name(self, input: Option<String>) -> Self
The name of the sampling rule. Specify a rule by either name or ARN, but not both.
sourcepub fn rule_arn(self, input: impl Into<String>) -> Self
pub fn rule_arn(self, input: impl Into<String>) -> Self
The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.
sourcepub fn set_rule_arn(self, input: Option<String>) -> Self
pub fn set_rule_arn(self, input: Option<String>) -> Self
The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.
sourcepub fn build(self) -> Result<DeleteSamplingRuleInput, BuildError>
pub fn build(self) -> Result<DeleteSamplingRuleInput, BuildError>
Consumes the builder and constructs a DeleteSamplingRuleInput
.