Struct aws_sdk_databasemigration::operation::describe_fleet_advisor_databases::builders::DescribeFleetAdvisorDatabasesInputBuilder
source · #[non_exhaustive]pub struct DescribeFleetAdvisorDatabasesInputBuilder { /* private fields */ }
Expand description
A builder for DescribeFleetAdvisorDatabasesInput
.
Implementations§
source§impl DescribeFleetAdvisorDatabasesInputBuilder
impl DescribeFleetAdvisorDatabasesInputBuilder
sourcepub fn filters(self, input: Filter) -> Self
pub fn filters(self, input: Filter) -> Self
Appends an item to filters
.
To override the contents of this collection use set_filters
.
If you specify any of the following filters, the output includes information for only those databases that meet the filter criteria:
-
database-id
– The ID of the database. -
database-name
– The name of the database. -
database-engine
– The name of the database engine. -
server-ip-address
– The IP address of the database server. -
database-ip-address
– The IP address of the database. -
collector-name
– The name of the associated Fleet Advisor collector.
An example is: describe-fleet-advisor-databases --filter Name="database-id",Values="45"
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
If you specify any of the following filters, the output includes information for only those databases that meet the filter criteria:
-
database-id
– The ID of the database. -
database-name
– The name of the database. -
database-engine
– The name of the database engine. -
server-ip-address
– The IP address of the database server. -
database-ip-address
– The IP address of the database. -
collector-name
– The name of the associated Fleet Advisor collector.
An example is: describe-fleet-advisor-databases --filter Name="database-id",Values="45"
sourcepub fn get_filters(&self) -> &Option<Vec<Filter>>
pub fn get_filters(&self) -> &Option<Vec<Filter>>
If you specify any of the following filters, the output includes information for only those databases that meet the filter criteria:
-
database-id
– The ID of the database. -
database-name
– The name of the database. -
database-engine
– The name of the database engine. -
server-ip-address
– The IP address of the database server. -
database-ip-address
– The IP address of the database. -
collector-name
– The name of the associated Fleet Advisor collector.
An example is: describe-fleet-advisor-databases --filter Name="database-id",Values="45"
sourcepub fn max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
Sets the maximum number of records returned in the response.
sourcepub fn set_max_records(self, input: Option<i32>) -> Self
pub fn set_max_records(self, input: Option<i32>) -> Self
Sets the maximum number of records returned in the response.
sourcepub fn get_max_records(&self) -> &Option<i32>
pub fn get_max_records(&self) -> &Option<i32>
Sets the maximum number of records returned in the response.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If NextToken
is returned by a previous response, there are more results available. The value of NextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If NextToken
is returned by a previous response, there are more results available. The value of NextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If NextToken
is returned by a previous response, there are more results available. The value of NextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn build(self) -> Result<DescribeFleetAdvisorDatabasesInput, BuildError>
pub fn build(self) -> Result<DescribeFleetAdvisorDatabasesInput, BuildError>
Consumes the builder and constructs a DescribeFleetAdvisorDatabasesInput
.
source§impl DescribeFleetAdvisorDatabasesInputBuilder
impl DescribeFleetAdvisorDatabasesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeFleetAdvisorDatabasesOutput, SdkError<DescribeFleetAdvisorDatabasesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeFleetAdvisorDatabasesOutput, SdkError<DescribeFleetAdvisorDatabasesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeFleetAdvisorDatabasesInputBuilder
impl Clone for DescribeFleetAdvisorDatabasesInputBuilder
source§fn clone(&self) -> DescribeFleetAdvisorDatabasesInputBuilder
fn clone(&self) -> DescribeFleetAdvisorDatabasesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeFleetAdvisorDatabasesInputBuilder
impl Default for DescribeFleetAdvisorDatabasesInputBuilder
source§fn default() -> DescribeFleetAdvisorDatabasesInputBuilder
fn default() -> DescribeFleetAdvisorDatabasesInputBuilder
source§impl PartialEq for DescribeFleetAdvisorDatabasesInputBuilder
impl PartialEq for DescribeFleetAdvisorDatabasesInputBuilder
source§fn eq(&self, other: &DescribeFleetAdvisorDatabasesInputBuilder) -> bool
fn eq(&self, other: &DescribeFleetAdvisorDatabasesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeFleetAdvisorDatabasesInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeFleetAdvisorDatabasesInputBuilder
impl RefUnwindSafe for DescribeFleetAdvisorDatabasesInputBuilder
impl Send for DescribeFleetAdvisorDatabasesInputBuilder
impl Sync for DescribeFleetAdvisorDatabasesInputBuilder
impl Unpin for DescribeFleetAdvisorDatabasesInputBuilder
impl UnwindSafe for DescribeFleetAdvisorDatabasesInputBuilder
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