Struct aws_sdk_docdb::operation::describe_orderable_db_instance_options::builders::DescribeOrderableDbInstanceOptionsInputBuilder
source · #[non_exhaustive]pub struct DescribeOrderableDbInstanceOptionsInputBuilder { /* private fields */ }Expand description
A builder for DescribeOrderableDbInstanceOptionsInput.
Implementations§
source§impl DescribeOrderableDbInstanceOptionsInputBuilder
impl DescribeOrderableDbInstanceOptionsInputBuilder
sourcepub fn engine(self, input: impl Into<String>) -> Self
pub fn engine(self, input: impl Into<String>) -> Self
The name of the engine to retrieve instance options for.
This field is required.sourcepub fn set_engine(self, input: Option<String>) -> Self
pub fn set_engine(self, input: Option<String>) -> Self
The name of the engine to retrieve instance options for.
sourcepub fn get_engine(&self) -> &Option<String>
pub fn get_engine(&self) -> &Option<String>
The name of the engine to retrieve instance options for.
sourcepub fn engine_version(self, input: impl Into<String>) -> Self
pub fn engine_version(self, input: impl Into<String>) -> Self
The engine version filter value. Specify this parameter to show only the available offerings that match the specified engine version.
sourcepub fn set_engine_version(self, input: Option<String>) -> Self
pub fn set_engine_version(self, input: Option<String>) -> Self
The engine version filter value. Specify this parameter to show only the available offerings that match the specified engine version.
sourcepub fn get_engine_version(&self) -> &Option<String>
pub fn get_engine_version(&self) -> &Option<String>
The engine version filter value. Specify this parameter to show only the available offerings that match the specified engine version.
sourcepub fn db_instance_class(self, input: impl Into<String>) -> Self
pub fn db_instance_class(self, input: impl Into<String>) -> Self
The instance class filter value. Specify this parameter to show only the available offerings that match the specified instance class.
sourcepub fn set_db_instance_class(self, input: Option<String>) -> Self
pub fn set_db_instance_class(self, input: Option<String>) -> Self
The instance class filter value. Specify this parameter to show only the available offerings that match the specified instance class.
sourcepub fn get_db_instance_class(&self) -> &Option<String>
pub fn get_db_instance_class(&self) -> &Option<String>
The instance class filter value. Specify this parameter to show only the available offerings that match the specified instance class.
sourcepub fn license_model(self, input: impl Into<String>) -> Self
pub fn license_model(self, input: impl Into<String>) -> Self
The license model filter value. Specify this parameter to show only the available offerings that match the specified license model.
sourcepub fn set_license_model(self, input: Option<String>) -> Self
pub fn set_license_model(self, input: Option<String>) -> Self
The license model filter value. Specify this parameter to show only the available offerings that match the specified license model.
sourcepub fn get_license_model(&self) -> &Option<String>
pub fn get_license_model(&self) -> &Option<String>
The license model filter value. Specify this parameter to show only the available offerings that match the specified license model.
sourcepub fn vpc(self, input: bool) -> Self
pub fn vpc(self, input: bool) -> Self
The virtual private cloud (VPC) filter value. Specify this parameter to show only the available VPC or non-VPC offerings.
sourcepub fn set_vpc(self, input: Option<bool>) -> Self
pub fn set_vpc(self, input: Option<bool>) -> Self
The virtual private cloud (VPC) filter value. Specify this parameter to show only the available VPC or non-VPC offerings.
sourcepub fn get_vpc(&self) -> &Option<bool>
pub fn get_vpc(&self) -> &Option<bool>
The virtual private cloud (VPC) filter value. Specify this parameter to show only the available VPC or non-VPC offerings.
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.
This parameter is not currently supported.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
This parameter is not currently supported.
sourcepub fn get_filters(&self) -> &Option<Vec<Filter>>
pub fn get_filters(&self) -> &Option<Vec<Filter>>
This parameter is not currently supported.
sourcepub fn max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
sourcepub fn set_max_records(self, input: Option<i32>) -> Self
pub fn set_max_records(self, input: Option<i32>) -> Self
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
sourcepub fn get_max_records(&self) -> &Option<i32>
pub fn get_max_records(&self) -> &Option<i32>
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
sourcepub fn build(
self
) -> Result<DescribeOrderableDbInstanceOptionsInput, BuildError>
pub fn build( self ) -> Result<DescribeOrderableDbInstanceOptionsInput, BuildError>
Consumes the builder and constructs a DescribeOrderableDbInstanceOptionsInput.
source§impl DescribeOrderableDbInstanceOptionsInputBuilder
impl DescribeOrderableDbInstanceOptionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeOrderableDbInstanceOptionsOutput, SdkError<DescribeOrderableDBInstanceOptionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeOrderableDbInstanceOptionsOutput, SdkError<DescribeOrderableDBInstanceOptionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeOrderableDbInstanceOptionsInputBuilder
impl Clone for DescribeOrderableDbInstanceOptionsInputBuilder
source§fn clone(&self) -> DescribeOrderableDbInstanceOptionsInputBuilder
fn clone(&self) -> DescribeOrderableDbInstanceOptionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeOrderableDbInstanceOptionsInputBuilder
impl Default for DescribeOrderableDbInstanceOptionsInputBuilder
source§fn default() -> DescribeOrderableDbInstanceOptionsInputBuilder
fn default() -> DescribeOrderableDbInstanceOptionsInputBuilder
source§impl PartialEq for DescribeOrderableDbInstanceOptionsInputBuilder
impl PartialEq for DescribeOrderableDbInstanceOptionsInputBuilder
source§fn eq(&self, other: &DescribeOrderableDbInstanceOptionsInputBuilder) -> bool
fn eq(&self, other: &DescribeOrderableDbInstanceOptionsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.