pub struct Builder { /* private fields */ }
Expand description
A builder for InstanceEventWindowAssociationRequest
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn instance_ids(self, input: impl Into<String>) -> Self
pub fn instance_ids(self, input: impl Into<String>) -> Self
Appends an item to instance_ids
.
To override the contents of this collection use set_instance_ids
.
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.
sourcepub fn set_instance_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_instance_ids(self, input: Option<Vec<String>>) -> Self
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.
Appends an item to instance_tags
.
To override the contents of this collection use set_instance_tags
.
The instance tags to associate with the event window. Any instances associated with the tags will be associated with the event window.
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, input: impl Into<String>) -> Self
pub fn dedicated_host_ids(self, input: impl Into<String>) -> Self
Appends an item to dedicated_host_ids
.
To override the contents of this collection use set_dedicated_host_ids
.
The IDs of the Dedicated Hosts to associate with the event window.
sourcepub fn set_dedicated_host_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_dedicated_host_ids(self, input: Option<Vec<String>>) -> Self
The IDs of the Dedicated Hosts to associate with the event window.
sourcepub fn build(self) -> InstanceEventWindowAssociationRequest
pub fn build(self) -> InstanceEventWindowAssociationRequest
Consumes the builder and constructs a InstanceEventWindowAssociationRequest
.