#[non_exhaustive]pub struct ScalingParametersStatus { /* private fields */ }Expand description
The status and configuration of a search domain's scaling parameters.
Implementations§
source§impl ScalingParametersStatus
impl ScalingParametersStatus
sourcepub fn options(&self) -> Option<&ScalingParameters>
pub fn options(&self) -> Option<&ScalingParameters>
The desired instance type and desired number of replicas of each index partition.
sourcepub fn status(&self) -> Option<&OptionStatus>
pub fn status(&self) -> Option<&OptionStatus>
The status of domain configuration option.
source§impl ScalingParametersStatus
impl ScalingParametersStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ScalingParametersStatus.
Examples found in repository?
src/xml_deser.rs (line 2169)
2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196
pub fn deser_structure_crate_model_scaling_parameters_status(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::ScalingParametersStatus, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::ScalingParametersStatus::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("Options") /* Options com.amazonaws.cloudsearch#ScalingParametersStatus$Options */ => {
let var_68 =
Some(
crate::xml_deser::deser_structure_crate_model_scaling_parameters(&mut tag)
?
)
;
builder = builder.set_options(var_68);
}
,
s if s.matches("Status") /* Status com.amazonaws.cloudsearch#ScalingParametersStatus$Status */ => {
let var_69 =
Some(
crate::xml_deser::deser_structure_crate_model_option_status(&mut tag)
?
)
;
builder = builder.set_status(var_69);
}
,
_ => {}
}
}
Ok(builder.build())
}Trait Implementations§
source§impl Clone for ScalingParametersStatus
impl Clone for ScalingParametersStatus
source§fn clone(&self) -> ScalingParametersStatus
fn clone(&self) -> ScalingParametersStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more