Struct aws_sdk_xray::operation::delete_sampling_rule::builders::DeleteSamplingRuleFluentBuilder
source · pub struct DeleteSamplingRuleFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteSamplingRule
.
Deletes a sampling rule.
Implementations§
source§impl DeleteSamplingRuleFluentBuilder
impl DeleteSamplingRuleFluentBuilder
sourcepub fn as_input(&self) -> &DeleteSamplingRuleInputBuilder
pub fn as_input(&self) -> &DeleteSamplingRuleInputBuilder
Access the DeleteSamplingRule as a reference.
sourcepub async fn send(
self
) -> Result<DeleteSamplingRuleOutput, SdkError<DeleteSamplingRuleError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteSamplingRuleOutput, SdkError<DeleteSamplingRuleError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DeleteSamplingRuleOutput, DeleteSamplingRuleError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteSamplingRuleOutput, DeleteSamplingRuleError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_rule_name(&self) -> &Option<String>
pub fn get_rule_name(&self) -> &Option<String>
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 get_rule_arn(&self) -> &Option<String>
pub fn get_rule_arn(&self) -> &Option<String>
The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.
Trait Implementations§
source§impl Clone for DeleteSamplingRuleFluentBuilder
impl Clone for DeleteSamplingRuleFluentBuilder
source§fn clone(&self) -> DeleteSamplingRuleFluentBuilder
fn clone(&self) -> DeleteSamplingRuleFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more