#[non_exhaustive]pub struct InstanceEventWindowAssociationRequest {
pub instance_ids: Option<Vec<String>>,
pub instance_tags: Option<Vec<Tag>>,
pub dedicated_host_ids: Option<Vec<String>>,
}
Expand description
One or more targets associated with the specified event window. Only one type of target (instance ID, instance tag, or Dedicated Host ID) can be associated with an 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 to associate with the event window. If the instance is on a Dedicated Host, you can't specify the Instance ID parameter; you must use the Dedicated Host ID parameter.
The instance tags to associate 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 to associate with the event window.
Implementations§
source§impl InstanceEventWindowAssociationRequest
impl InstanceEventWindowAssociationRequest
sourcepub fn instance_ids(&self) -> Option<&[String]>
pub fn instance_ids(&self) -> Option<&[String]>
The IDs of the instances to associate with the event window. If the instance is on a Dedicated Host, you can't specify the Instance ID parameter; you must use the Dedicated Host ID parameter.
The instance tags to associate 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 to associate with the event window.
source§impl InstanceEventWindowAssociationRequest
impl InstanceEventWindowAssociationRequest
sourcepub fn builder() -> InstanceEventWindowAssociationRequestBuilder
pub fn builder() -> InstanceEventWindowAssociationRequestBuilder
Creates a new builder-style object to manufacture InstanceEventWindowAssociationRequest
.
Trait Implementations§
source§impl Clone for InstanceEventWindowAssociationRequest
impl Clone for InstanceEventWindowAssociationRequest
source§fn clone(&self) -> InstanceEventWindowAssociationRequest
fn clone(&self) -> InstanceEventWindowAssociationRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<InstanceEventWindowAssociationRequest> for InstanceEventWindowAssociationRequest
impl PartialEq<InstanceEventWindowAssociationRequest> for InstanceEventWindowAssociationRequest
source§fn eq(&self, other: &InstanceEventWindowAssociationRequest) -> bool
fn eq(&self, other: &InstanceEventWindowAssociationRequest) -> bool
self
and other
values to be equal, and is used
by ==
.