#[non_exhaustive]pub struct InstanceEventWindowAssociationTarget { /* private fields */ }
Expand description
One or more targets associated with the event window.
Implementations§
source§impl InstanceEventWindowAssociationTarget
impl InstanceEventWindowAssociationTarget
sourcepub fn instance_ids(&self) -> Option<&[String]>
pub fn instance_ids(&self) -> Option<&[String]>
The IDs of the instances associated with the event window.
The instance tags associated with the event window. Any instances associated with the tags will be associated with the event window.
sourcepub fn dedicated_host_ids(&self) -> Option<&[String]>
pub fn dedicated_host_ids(&self) -> Option<&[String]>
The IDs of the Dedicated Hosts associated with the event window.
source§impl InstanceEventWindowAssociationTarget
impl InstanceEventWindowAssociationTarget
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InstanceEventWindowAssociationTarget
.
Examples found in repository?
src/xml_deser.rs (line 39349)
39342 39343 39344 39345 39346 39347 39348 39349 39350 39351 39352 39353 39354 39355 39356 39357 39358 39359 39360 39361 39362 39363 39364 39365 39366 39367 39368 39369 39370 39371 39372 39373 39374 39375 39376 39377 39378 39379 39380 39381 39382 39383 39384 39385 39386
pub fn deser_structure_crate_model_instance_event_window_association_target(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<
crate::model::InstanceEventWindowAssociationTarget,
aws_smithy_xml::decode::XmlDecodeError,
> {
#[allow(unused_mut)]
let mut builder = crate::model::InstanceEventWindowAssociationTarget::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("instanceIdSet") /* InstanceIds com.amazonaws.ec2#InstanceEventWindowAssociationTarget$InstanceIds */ => {
let var_1665 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_instance_id_list(&mut tag)
?
)
;
builder = builder.set_instance_ids(var_1665);
}
,
s if s.matches("tagSet") /* Tags com.amazonaws.ec2#InstanceEventWindowAssociationTarget$Tags */ => {
let var_1666 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_tag_list(&mut tag)
?
)
;
builder = builder.set_tags(var_1666);
}
,
s if s.matches("dedicatedHostIdSet") /* DedicatedHostIds com.amazonaws.ec2#InstanceEventWindowAssociationTarget$DedicatedHostIds */ => {
let var_1667 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_dedicated_host_id_list(&mut tag)
?
)
;
builder = builder.set_dedicated_host_ids(var_1667);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for InstanceEventWindowAssociationTarget
impl Clone for InstanceEventWindowAssociationTarget
source§fn clone(&self) -> InstanceEventWindowAssociationTarget
fn clone(&self) -> InstanceEventWindowAssociationTarget
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