Struct aws_sdk_ssm::operation::update_ops_metadata::builders::UpdateOpsMetadataFluentBuilder
source · pub struct UpdateOpsMetadataFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateOpsMetadata
.
Amazon Web Services Systems Manager calls this API operation when you edit OpsMetadata in Application Manager.
Implementations§
source§impl UpdateOpsMetadataFluentBuilder
impl UpdateOpsMetadataFluentBuilder
sourcepub fn as_input(&self) -> &UpdateOpsMetadataInputBuilder
pub fn as_input(&self) -> &UpdateOpsMetadataInputBuilder
Access the UpdateOpsMetadata as a reference.
sourcepub async fn send(
self
) -> Result<UpdateOpsMetadataOutput, SdkError<UpdateOpsMetadataError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateOpsMetadataOutput, SdkError<UpdateOpsMetadataError, 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<UpdateOpsMetadataOutput, UpdateOpsMetadataError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateOpsMetadataOutput, UpdateOpsMetadataError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn ops_metadata_arn(self, input: impl Into<String>) -> Self
pub fn ops_metadata_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the OpsMetadata Object to update.
sourcepub fn set_ops_metadata_arn(self, input: Option<String>) -> Self
pub fn set_ops_metadata_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the OpsMetadata Object to update.
sourcepub fn get_ops_metadata_arn(&self) -> &Option<String>
pub fn get_ops_metadata_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the OpsMetadata Object to update.
sourcepub fn metadata_to_update(self, k: impl Into<String>, v: MetadataValue) -> Self
pub fn metadata_to_update(self, k: impl Into<String>, v: MetadataValue) -> Self
Adds a key-value pair to MetadataToUpdate
.
To override the contents of this collection use set_metadata_to_update
.
Metadata to add to an OpsMetadata object.
sourcepub fn set_metadata_to_update(
self,
input: Option<HashMap<String, MetadataValue>>
) -> Self
pub fn set_metadata_to_update( self, input: Option<HashMap<String, MetadataValue>> ) -> Self
Metadata to add to an OpsMetadata object.
sourcepub fn get_metadata_to_update(&self) -> &Option<HashMap<String, MetadataValue>>
pub fn get_metadata_to_update(&self) -> &Option<HashMap<String, MetadataValue>>
Metadata to add to an OpsMetadata object.
sourcepub fn keys_to_delete(self, input: impl Into<String>) -> Self
pub fn keys_to_delete(self, input: impl Into<String>) -> Self
Appends an item to KeysToDelete
.
To override the contents of this collection use set_keys_to_delete
.
The metadata keys to delete from the OpsMetadata object.
sourcepub fn set_keys_to_delete(self, input: Option<Vec<String>>) -> Self
pub fn set_keys_to_delete(self, input: Option<Vec<String>>) -> Self
The metadata keys to delete from the OpsMetadata object.
sourcepub fn get_keys_to_delete(&self) -> &Option<Vec<String>>
pub fn get_keys_to_delete(&self) -> &Option<Vec<String>>
The metadata keys to delete from the OpsMetadata object.
Trait Implementations§
source§impl Clone for UpdateOpsMetadataFluentBuilder
impl Clone for UpdateOpsMetadataFluentBuilder
source§fn clone(&self) -> UpdateOpsMetadataFluentBuilder
fn clone(&self) -> UpdateOpsMetadataFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more