Struct aws_sdk_frauddetector::operation::update_detector_version_metadata::builders::UpdateDetectorVersionMetadataFluentBuilder
source · pub struct UpdateDetectorVersionMetadataFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateDetectorVersionMetadata
.
Updates the detector version's description. You can update the metadata for any detector version (DRAFT, ACTIVE,
or INACTIVE
).
Implementations§
source§impl UpdateDetectorVersionMetadataFluentBuilder
impl UpdateDetectorVersionMetadataFluentBuilder
sourcepub fn as_input(&self) -> &UpdateDetectorVersionMetadataInputBuilder
pub fn as_input(&self) -> &UpdateDetectorVersionMetadataInputBuilder
Access the UpdateDetectorVersionMetadata as a reference.
sourcepub async fn send(
self
) -> Result<UpdateDetectorVersionMetadataOutput, SdkError<UpdateDetectorVersionMetadataError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateDetectorVersionMetadataOutput, SdkError<UpdateDetectorVersionMetadataError, 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<UpdateDetectorVersionMetadataOutput, UpdateDetectorVersionMetadataError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateDetectorVersionMetadataOutput, UpdateDetectorVersionMetadataError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn detector_id(self, input: impl Into<String>) -> Self
pub fn detector_id(self, input: impl Into<String>) -> Self
The detector ID.
sourcepub fn set_detector_id(self, input: Option<String>) -> Self
pub fn set_detector_id(self, input: Option<String>) -> Self
The detector ID.
sourcepub fn get_detector_id(&self) -> &Option<String>
pub fn get_detector_id(&self) -> &Option<String>
The detector ID.
sourcepub fn detector_version_id(self, input: impl Into<String>) -> Self
pub fn detector_version_id(self, input: impl Into<String>) -> Self
The detector version ID.
sourcepub fn set_detector_version_id(self, input: Option<String>) -> Self
pub fn set_detector_version_id(self, input: Option<String>) -> Self
The detector version ID.
sourcepub fn get_detector_version_id(&self) -> &Option<String>
pub fn get_detector_version_id(&self) -> &Option<String>
The detector version ID.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description.
Trait Implementations§
source§impl Clone for UpdateDetectorVersionMetadataFluentBuilder
impl Clone for UpdateDetectorVersionMetadataFluentBuilder
source§fn clone(&self) -> UpdateDetectorVersionMetadataFluentBuilder
fn clone(&self) -> UpdateDetectorVersionMetadataFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more