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 moreAuto Trait Implementations§
impl Freeze for GetResourceMetadataFluentBuilder
impl !RefUnwindSafe for GetResourceMetadataFluentBuilder
impl Send for GetResourceMetadataFluentBuilder
impl Sync for GetResourceMetadataFluentBuilder
impl Unpin for GetResourceMetadataFluentBuilder
impl !UnwindSafe for GetResourceMetadataFluentBuilder
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