#[non_exhaustive]pub struct UpdateOpsMetadataInput {
pub ops_metadata_arn: Option<String>,
pub metadata_to_update: Option<HashMap<String, MetadataValue>>,
pub keys_to_delete: Option<Vec<String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.ops_metadata_arn: Option<String>
The Amazon Resource Name (ARN) of the OpsMetadata Object to update.
metadata_to_update: Option<HashMap<String, MetadataValue>>
Metadata to add to an OpsMetadata object.
keys_to_delete: Option<Vec<String>>
The metadata keys to delete from the OpsMetadata object.
Implementations§
source§impl UpdateOpsMetadataInput
impl UpdateOpsMetadataInput
sourcepub fn ops_metadata_arn(&self) -> Option<&str>
pub fn ops_metadata_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the OpsMetadata Object to update.
sourcepub fn metadata_to_update(&self) -> Option<&HashMap<String, MetadataValue>>
pub fn metadata_to_update(&self) -> Option<&HashMap<String, MetadataValue>>
Metadata to add to an OpsMetadata object.
sourcepub fn keys_to_delete(&self) -> &[String]
pub fn keys_to_delete(&self) -> &[String]
The metadata keys to delete from the OpsMetadata object.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .keys_to_delete.is_none()
.
source§impl UpdateOpsMetadataInput
impl UpdateOpsMetadataInput
sourcepub fn builder() -> UpdateOpsMetadataInputBuilder
pub fn builder() -> UpdateOpsMetadataInputBuilder
Creates a new builder-style object to manufacture UpdateOpsMetadataInput
.
Trait Implementations§
source§impl Clone for UpdateOpsMetadataInput
impl Clone for UpdateOpsMetadataInput
source§fn clone(&self) -> UpdateOpsMetadataInput
fn clone(&self) -> UpdateOpsMetadataInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UpdateOpsMetadataInput
impl Debug for UpdateOpsMetadataInput
source§impl PartialEq for UpdateOpsMetadataInput
impl PartialEq for UpdateOpsMetadataInput
source§fn eq(&self, other: &UpdateOpsMetadataInput) -> bool
fn eq(&self, other: &UpdateOpsMetadataInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateOpsMetadataInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateOpsMetadataInput
impl Send for UpdateOpsMetadataInput
impl Sync for UpdateOpsMetadataInput
impl Unpin for UpdateOpsMetadataInput
impl UnwindSafe for UpdateOpsMetadataInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.