#[non_exhaustive]pub struct InstanceEventWindowDisassociationRequest {
pub instance_ids: Option<Vec<String>>,
pub instance_tags: Option<Vec<Tag>>,
pub dedicated_host_ids: Option<Vec<String>>,
}
Expand description
The targets to disassociate from the specified 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 disassociate from the event window.
The instance tags to disassociate from the event window. Any instances associated with the tags will be disassociated from the event window.
dedicated_host_ids: Option<Vec<String>>
The IDs of the Dedicated Hosts to disassociate from the event window.
Implementations§
source§impl InstanceEventWindowDisassociationRequest
impl InstanceEventWindowDisassociationRequest
sourcepub fn instance_ids(&self) -> &[String]
pub fn instance_ids(&self) -> &[String]
The IDs of the instances to disassociate from 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 to disassociate from the event window. Any instances associated with the tags will be disassociated from 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_tags.is_none()
.
sourcepub fn dedicated_host_ids(&self) -> &[String]
pub fn dedicated_host_ids(&self) -> &[String]
The IDs of the Dedicated Hosts to disassociate from 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 InstanceEventWindowDisassociationRequest
impl InstanceEventWindowDisassociationRequest
sourcepub fn builder() -> InstanceEventWindowDisassociationRequestBuilder
pub fn builder() -> InstanceEventWindowDisassociationRequestBuilder
Creates a new builder-style object to manufacture InstanceEventWindowDisassociationRequest
.
Trait Implementations§
source§impl Clone for InstanceEventWindowDisassociationRequest
impl Clone for InstanceEventWindowDisassociationRequest
source§fn clone(&self) -> InstanceEventWindowDisassociationRequest
fn clone(&self) -> InstanceEventWindowDisassociationRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for InstanceEventWindowDisassociationRequest
impl PartialEq for InstanceEventWindowDisassociationRequest
source§fn eq(&self, other: &InstanceEventWindowDisassociationRequest) -> bool
fn eq(&self, other: &InstanceEventWindowDisassociationRequest) -> bool
self
and other
values to be equal, and is used
by ==
.