Struct aws_sdk_ssm::types::MaintenanceWindowTarget
source · #[non_exhaustive]pub struct MaintenanceWindowTarget { /* private fields */ }
Expand description
The target registered with the maintenance window.
Implementations§
source§impl MaintenanceWindowTarget
impl MaintenanceWindowTarget
sourcepub fn window_id(&self) -> Option<&str>
pub fn window_id(&self) -> Option<&str>
The ID of the maintenance window to register the target with.
sourcepub fn window_target_id(&self) -> Option<&str>
pub fn window_target_id(&self) -> Option<&str>
The ID of the target.
sourcepub fn resource_type(&self) -> Option<&MaintenanceWindowResourceType>
pub fn resource_type(&self) -> Option<&MaintenanceWindowResourceType>
The type of target that is being registered with the maintenance window.
sourcepub fn targets(&self) -> Option<&[Target]>
pub fn targets(&self) -> Option<&[Target]>
The targets, either managed nodes or tags.
Specify managed nodes using the following format:
Key=instanceids,Values=
Tags are specified using the following format:
Key=
.
sourcepub fn owner_information(&self) -> Option<&str>
pub fn owner_information(&self) -> Option<&str>
A user-provided value that will be included in any Amazon CloudWatch Events events that are raised while running tasks for these targets in this maintenance window.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the target.
source§impl MaintenanceWindowTarget
impl MaintenanceWindowTarget
sourcepub fn builder() -> MaintenanceWindowTargetBuilder
pub fn builder() -> MaintenanceWindowTargetBuilder
Creates a new builder-style object to manufacture MaintenanceWindowTarget
.
Trait Implementations§
source§impl Clone for MaintenanceWindowTarget
impl Clone for MaintenanceWindowTarget
source§fn clone(&self) -> MaintenanceWindowTarget
fn clone(&self) -> MaintenanceWindowTarget
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MaintenanceWindowTarget
impl Debug for MaintenanceWindowTarget
source§impl PartialEq<MaintenanceWindowTarget> for MaintenanceWindowTarget
impl PartialEq<MaintenanceWindowTarget> for MaintenanceWindowTarget
source§fn eq(&self, other: &MaintenanceWindowTarget) -> bool
fn eq(&self, other: &MaintenanceWindowTarget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MaintenanceWindowTarget
Auto Trait Implementations§
impl RefUnwindSafe for MaintenanceWindowTarget
impl Send for MaintenanceWindowTarget
impl Sync for MaintenanceWindowTarget
impl Unpin for MaintenanceWindowTarget
impl UnwindSafe for MaintenanceWindowTarget
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
Mutably borrows from an owned value. Read more