Struct aws_sdk_ssm::types::builders::PatchStatusBuilder
source · #[non_exhaustive]pub struct PatchStatusBuilder { /* private fields */ }
Expand description
A builder for PatchStatus
.
Implementations§
source§impl PatchStatusBuilder
impl PatchStatusBuilder
sourcepub fn deployment_status(self, input: PatchDeploymentStatus) -> Self
pub fn deployment_status(self, input: PatchDeploymentStatus) -> Self
The approval status of a patch.
sourcepub fn set_deployment_status(self, input: Option<PatchDeploymentStatus>) -> Self
pub fn set_deployment_status(self, input: Option<PatchDeploymentStatus>) -> Self
The approval status of a patch.
sourcepub fn get_deployment_status(&self) -> &Option<PatchDeploymentStatus>
pub fn get_deployment_status(&self) -> &Option<PatchDeploymentStatus>
The approval status of a patch.
sourcepub fn compliance_level(self, input: PatchComplianceLevel) -> Self
pub fn compliance_level(self, input: PatchComplianceLevel) -> Self
The compliance severity level for a patch.
sourcepub fn set_compliance_level(self, input: Option<PatchComplianceLevel>) -> Self
pub fn set_compliance_level(self, input: Option<PatchComplianceLevel>) -> Self
The compliance severity level for a patch.
sourcepub fn get_compliance_level(&self) -> &Option<PatchComplianceLevel>
pub fn get_compliance_level(&self) -> &Option<PatchComplianceLevel>
The compliance severity level for a patch.
sourcepub fn approval_date(self, input: DateTime) -> Self
pub fn approval_date(self, input: DateTime) -> Self
The date the patch was approved (or will be approved if the status is PENDING_APPROVAL
).
sourcepub fn set_approval_date(self, input: Option<DateTime>) -> Self
pub fn set_approval_date(self, input: Option<DateTime>) -> Self
The date the patch was approved (or will be approved if the status is PENDING_APPROVAL
).
sourcepub fn get_approval_date(&self) -> &Option<DateTime>
pub fn get_approval_date(&self) -> &Option<DateTime>
The date the patch was approved (or will be approved if the status is PENDING_APPROVAL
).
sourcepub fn build(self) -> PatchStatus
pub fn build(self) -> PatchStatus
Consumes the builder and constructs a PatchStatus
.
Trait Implementations§
source§impl Clone for PatchStatusBuilder
impl Clone for PatchStatusBuilder
source§fn clone(&self) -> PatchStatusBuilder
fn clone(&self) -> PatchStatusBuilder
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 PatchStatusBuilder
impl Debug for PatchStatusBuilder
source§impl Default for PatchStatusBuilder
impl Default for PatchStatusBuilder
source§fn default() -> PatchStatusBuilder
fn default() -> PatchStatusBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PatchStatusBuilder
impl PartialEq for PatchStatusBuilder
source§fn eq(&self, other: &PatchStatusBuilder) -> bool
fn eq(&self, other: &PatchStatusBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PatchStatusBuilder
Auto Trait Implementations§
impl Freeze for PatchStatusBuilder
impl RefUnwindSafe for PatchStatusBuilder
impl Send for PatchStatusBuilder
impl Sync for PatchStatusBuilder
impl Unpin for PatchStatusBuilder
impl UnwindSafe for PatchStatusBuilder
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
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>
Creates a shared type from an unshared type.