#[non_exhaustive]pub struct CreateOpsMetadataInput {
pub resource_id: Option<String>,
pub metadata: Option<HashMap<String, MetadataValue>>,
pub tags: Option<Vec<Tag>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.resource_id: Option<String>A resource ID for a new Application Manager application.
metadata: Option<HashMap<String, MetadataValue>>Metadata for a new Application Manager application.
Optional metadata that you assign to a resource. You can specify a maximum of five tags for an OpsMetadata object. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag an OpsMetadata object to identify an environment or target Amazon Web Services Region. In this case, you could specify the following key-value pairs:
-
Key=Environment,Value=Production -
Key=Region,Value=us-east-2
Implementations§
source§impl CreateOpsMetadataInput
impl CreateOpsMetadataInput
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
A resource ID for a new Application Manager application.
sourcepub fn metadata(&self) -> Option<&HashMap<String, MetadataValue>>
pub fn metadata(&self) -> Option<&HashMap<String, MetadataValue>>
Metadata for a new Application Manager application.
Optional metadata that you assign to a resource. You can specify a maximum of five tags for an OpsMetadata object. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag an OpsMetadata object to identify an environment or target Amazon Web Services Region. In this case, you could specify the following key-value pairs:
-
Key=Environment,Value=Production -
Key=Region,Value=us-east-2
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl CreateOpsMetadataInput
impl CreateOpsMetadataInput
sourcepub fn builder() -> CreateOpsMetadataInputBuilder
pub fn builder() -> CreateOpsMetadataInputBuilder
Creates a new builder-style object to manufacture CreateOpsMetadataInput.
Trait Implementations§
source§impl Clone for CreateOpsMetadataInput
impl Clone for CreateOpsMetadataInput
source§fn clone(&self) -> CreateOpsMetadataInput
fn clone(&self) -> CreateOpsMetadataInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateOpsMetadataInput
impl Debug for CreateOpsMetadataInput
source§impl PartialEq for CreateOpsMetadataInput
impl PartialEq for CreateOpsMetadataInput
source§fn eq(&self, other: &CreateOpsMetadataInput) -> bool
fn eq(&self, other: &CreateOpsMetadataInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateOpsMetadataInput
Auto Trait Implementations§
impl Freeze for CreateOpsMetadataInput
impl RefUnwindSafe for CreateOpsMetadataInput
impl Send for CreateOpsMetadataInput
impl Sync for CreateOpsMetadataInput
impl Unpin for CreateOpsMetadataInput
impl UnwindSafe for CreateOpsMetadataInput
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more