#[non_exhaustive]pub struct CreateOpsMetadataInputBuilder { /* private fields */ }
Expand description
A builder for CreateOpsMetadataInput
.
Implementations§
source§impl CreateOpsMetadataInputBuilder
impl CreateOpsMetadataInputBuilder
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
A resource ID for a new Application Manager application.
This field is required.sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
A resource ID for a new Application Manager application.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
A resource ID for a new Application Manager application.
sourcepub fn metadata(self, k: impl Into<String>, v: MetadataValue) -> Self
pub fn metadata(self, k: impl Into<String>, v: MetadataValue) -> Self
Adds a key-value pair to metadata
.
To override the contents of this collection use set_metadata
.
Metadata for a new Application Manager application.
sourcepub fn set_metadata(self, input: Option<HashMap<String, MetadataValue>>) -> Self
pub fn set_metadata(self, input: Option<HashMap<String, MetadataValue>>) -> Self
Metadata for a new Application Manager application.
sourcepub fn get_metadata(&self) -> &Option<HashMap<String, MetadataValue>>
pub fn get_metadata(&self) -> &Option<HashMap<String, MetadataValue>>
Metadata for a new Application Manager application.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
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
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
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
sourcepub fn build(self) -> Result<CreateOpsMetadataInput, BuildError>
pub fn build(self) -> Result<CreateOpsMetadataInput, BuildError>
Consumes the builder and constructs a CreateOpsMetadataInput
.
source§impl CreateOpsMetadataInputBuilder
impl CreateOpsMetadataInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateOpsMetadataOutput, SdkError<CreateOpsMetadataError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateOpsMetadataOutput, SdkError<CreateOpsMetadataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateOpsMetadataInputBuilder
impl Clone for CreateOpsMetadataInputBuilder
source§fn clone(&self) -> CreateOpsMetadataInputBuilder
fn clone(&self) -> CreateOpsMetadataInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateOpsMetadataInputBuilder
impl Default for CreateOpsMetadataInputBuilder
source§fn default() -> CreateOpsMetadataInputBuilder
fn default() -> CreateOpsMetadataInputBuilder
source§impl PartialEq for CreateOpsMetadataInputBuilder
impl PartialEq for CreateOpsMetadataInputBuilder
source§fn eq(&self, other: &CreateOpsMetadataInputBuilder) -> bool
fn eq(&self, other: &CreateOpsMetadataInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.