#[non_exhaustive]pub struct InstanceEventWindowAssociationTarget {
pub instance_ids: Option<Vec<String>>,
pub tags: Option<Vec<Tag>>,
pub dedicated_host_ids: Option<Vec<String>>,
}
Expand description
One or more targets associated with the event window.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_ids: Option<Vec<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.
dedicated_host_ids: Option<Vec<String>>
The IDs of the Dedicated Hosts associated with the event window.
Implementations§
source§impl InstanceEventWindowAssociationTarget
impl InstanceEventWindowAssociationTarget
sourcepub fn instance_ids(&self) -> &[String]
pub fn instance_ids(&self) -> &[String]
The IDs of the instances associated with the event window.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .instance_ids.is_none()
.
The instance tags associated with the event window. Any instances associated with the tags will be associated with the event window.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn dedicated_host_ids(&self) -> &[String]
pub fn dedicated_host_ids(&self) -> &[String]
The IDs of the Dedicated Hosts associated with the event window.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .dedicated_host_ids.is_none()
.
source§impl InstanceEventWindowAssociationTarget
impl InstanceEventWindowAssociationTarget
sourcepub fn builder() -> InstanceEventWindowAssociationTargetBuilder
pub fn builder() -> InstanceEventWindowAssociationTargetBuilder
Creates a new builder-style object to manufacture InstanceEventWindowAssociationTarget
.
Trait Implementations§
source§impl Clone for InstanceEventWindowAssociationTarget
impl Clone for InstanceEventWindowAssociationTarget
source§fn clone(&self) -> InstanceEventWindowAssociationTarget
fn clone(&self) -> InstanceEventWindowAssociationTarget
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for InstanceEventWindowAssociationTarget
impl PartialEq for InstanceEventWindowAssociationTarget
source§fn eq(&self, other: &InstanceEventWindowAssociationTarget) -> bool
fn eq(&self, other: &InstanceEventWindowAssociationTarget) -> bool
self
and other
values to be equal, and is used
by ==
.