Struct aws_sdk_pi::operation::get_resource_metadata::builders::GetResourceMetadataInputBuilder
source · #[non_exhaustive]pub struct GetResourceMetadataInputBuilder { /* private fields */ }
Expand description
A builder for GetResourceMetadataInput
.
Implementations§
source§impl GetResourceMetadataInputBuilder
impl GetResourceMetadataInputBuilder
sourcepub fn service_type(self, input: ServiceType) -> Self
pub fn service_type(self, input: ServiceType) -> Self
The Amazon Web Services service for which Performance Insights returns metrics.
sourcepub fn set_service_type(self, input: Option<ServiceType>) -> Self
pub fn set_service_type(self, input: Option<ServiceType>) -> Self
The Amazon Web Services service for which Performance Insights returns metrics.
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use a DB instance as a data source, specify its DbiResourceId
value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X
.
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use a DB instance as a data source, specify its DbiResourceId
value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X
.
sourcepub fn build(self) -> Result<GetResourceMetadataInput, BuildError>
pub fn build(self) -> Result<GetResourceMetadataInput, BuildError>
Consumes the builder and constructs a GetResourceMetadataInput
.
Trait Implementations§
source§impl Clone for GetResourceMetadataInputBuilder
impl Clone for GetResourceMetadataInputBuilder
source§fn clone(&self) -> GetResourceMetadataInputBuilder
fn clone(&self) -> GetResourceMetadataInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetResourceMetadataInputBuilder
impl Default for GetResourceMetadataInputBuilder
source§fn default() -> GetResourceMetadataInputBuilder
fn default() -> GetResourceMetadataInputBuilder
source§impl PartialEq<GetResourceMetadataInputBuilder> for GetResourceMetadataInputBuilder
impl PartialEq<GetResourceMetadataInputBuilder> for GetResourceMetadataInputBuilder
source§fn eq(&self, other: &GetResourceMetadataInputBuilder) -> bool
fn eq(&self, other: &GetResourceMetadataInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.