#[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 ==
.impl StructuralPartialEq for InstanceEventWindowAssociationTarget
Auto Trait Implementations§
impl Freeze for InstanceEventWindowAssociationTarget
impl RefUnwindSafe for InstanceEventWindowAssociationTarget
impl Send for InstanceEventWindowAssociationTarget
impl Sync for InstanceEventWindowAssociationTarget
impl Unpin for InstanceEventWindowAssociationTarget
impl UnwindSafe for InstanceEventWindowAssociationTarget
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more