Struct aws_sdk_cloudformation::model::managed_execution::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ManagedExecution.
Implementations§
source§impl Builder
impl Builder
sourcepub fn active(self, input: bool) -> Self
pub fn active(self, input: bool) -> Self
When true, StackSets performs non-conflicting operations concurrently and queues conflicting operations. After conflicting operations finish, StackSets starts queued operations in request order.
If there are already running or queued operations, StackSets queues all incoming operations even if they are non-conflicting.
You can't modify your stack set's execution configuration while there are running or queued operations for that stack set.
When false (default), StackSets performs one operation at a time in request order.
sourcepub fn set_active(self, input: Option<bool>) -> Self
pub fn set_active(self, input: Option<bool>) -> Self
When true, StackSets performs non-conflicting operations concurrently and queues conflicting operations. After conflicting operations finish, StackSets starts queued operations in request order.
If there are already running or queued operations, StackSets queues all incoming operations even if they are non-conflicting.
You can't modify your stack set's execution configuration while there are running or queued operations for that stack set.
When false (default), StackSets performs one operation at a time in request order.
Examples found in repository?
7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825
pub fn deser_structure_crate_model_managed_execution(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::ManagedExecution, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::ManagedExecution::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("Active") /* Active com.amazonaws.cloudformation#ManagedExecution$Active */ => {
let var_333 =
Some(
{
<bool as aws_smithy_types::primitive::Parse>::parse_smithy_primitive(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
.map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (boolean: `com.amazonaws.cloudformation#ManagedExecutionNullable`)"))
}
?
)
;
builder = builder.set_active(var_333);
}
,
_ => {}
}
}
Ok(builder.build())
}sourcepub fn build(self) -> ManagedExecution
pub fn build(self) -> ManagedExecution
Consumes the builder and constructs a ManagedExecution.
Examples found in repository?
7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825
pub fn deser_structure_crate_model_managed_execution(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::ManagedExecution, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::ManagedExecution::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("Active") /* Active com.amazonaws.cloudformation#ManagedExecution$Active */ => {
let var_333 =
Some(
{
<bool as aws_smithy_types::primitive::Parse>::parse_smithy_primitive(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
.map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (boolean: `com.amazonaws.cloudformation#ManagedExecutionNullable`)"))
}
?
)
;
builder = builder.set_active(var_333);
}
,
_ => {}
}
}
Ok(builder.build())
}