Struct aws_sdk_pi::operation::get_resource_metadata::builders::GetResourceMetadataFluentBuilder
source · pub struct GetResourceMetadataFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetResourceMetadata
.
Retrieve the metadata for different features. For example, the metadata might indicate that a feature is turned on or off on a specific DB instance.
Implementations§
source§impl GetResourceMetadataFluentBuilder
impl GetResourceMetadataFluentBuilder
sourcepub fn as_input(&self) -> &GetResourceMetadataInputBuilder
pub fn as_input(&self) -> &GetResourceMetadataInputBuilder
Access the GetResourceMetadata as a reference.
sourcepub async fn send(
self
) -> Result<GetResourceMetadataOutput, SdkError<GetResourceMetadataError, HttpResponse>>
pub async fn send( self ) -> Result<GetResourceMetadataOutput, SdkError<GetResourceMetadataError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetResourceMetadataOutput, GetResourceMetadataError, Self>
pub fn customize( self ) -> CustomizableOperation<GetResourceMetadataOutput, GetResourceMetadataError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_service_type(&self) -> &Option<ServiceType>
pub fn get_service_type(&self) -> &Option<ServiceType>
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 get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
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
.
Trait Implementations§
source§impl Clone for GetResourceMetadataFluentBuilder
impl Clone for GetResourceMetadataFluentBuilder
source§fn clone(&self) -> GetResourceMetadataFluentBuilder
fn clone(&self) -> GetResourceMetadataFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more