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.
This field is required.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
.
sourcepub fn build(self) -> Result<GetResourceMetadataInput, BuildError>
pub fn build(self) -> Result<GetResourceMetadataInput, BuildError>
Consumes the builder and constructs a GetResourceMetadataInput
.
source§impl GetResourceMetadataInputBuilder
impl GetResourceMetadataInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetResourceMetadataOutput, SdkError<GetResourceMetadataError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetResourceMetadataOutput, SdkError<GetResourceMetadataError, HttpResponse>>
Sends a request with this input using the given client.
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 for GetResourceMetadataInputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for GetResourceMetadataInputBuilder
Auto Trait Implementations§
impl Freeze for GetResourceMetadataInputBuilder
impl RefUnwindSafe for GetResourceMetadataInputBuilder
impl Send for GetResourceMetadataInputBuilder
impl Sync for GetResourceMetadataInputBuilder
impl Unpin for GetResourceMetadataInputBuilder
impl UnwindSafe for GetResourceMetadataInputBuilder
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