#[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 ==
.