pub struct Builder { /* private fields */ }
Expand description
A builder for DescribeFleetAdvisorDatabasesInput
.
Implementations§
source§impl Builder
impl Builder
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 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 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 build(self) -> Result<DescribeFleetAdvisorDatabasesInput, BuildError>
pub fn build(self) -> Result<DescribeFleetAdvisorDatabasesInput, BuildError>
Consumes the builder and constructs a DescribeFleetAdvisorDatabasesInput
.