Struct aws_sdk_securityhub::types::builders::PatchSummaryBuilder
source · #[non_exhaustive]pub struct PatchSummaryBuilder { /* private fields */ }
Expand description
A builder for PatchSummary
.
Implementations§
source§impl PatchSummaryBuilder
impl PatchSummaryBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the compliance standard that was used to determine the patch compliance status.
This field is required.sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the compliance standard that was used to determine the patch compliance status.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The identifier of the compliance standard that was used to determine the patch compliance status.
sourcepub fn installed_count(self, input: i32) -> Self
pub fn installed_count(self, input: i32) -> Self
The number of patches from the compliance standard that were installed successfully.
sourcepub fn set_installed_count(self, input: Option<i32>) -> Self
pub fn set_installed_count(self, input: Option<i32>) -> Self
The number of patches from the compliance standard that were installed successfully.
sourcepub fn get_installed_count(&self) -> &Option<i32>
pub fn get_installed_count(&self) -> &Option<i32>
The number of patches from the compliance standard that were installed successfully.
sourcepub fn missing_count(self, input: i32) -> Self
pub fn missing_count(self, input: i32) -> Self
The number of patches that are part of the compliance standard but are not installed. The count includes patches that failed to install.
sourcepub fn set_missing_count(self, input: Option<i32>) -> Self
pub fn set_missing_count(self, input: Option<i32>) -> Self
The number of patches that are part of the compliance standard but are not installed. The count includes patches that failed to install.
sourcepub fn get_missing_count(&self) -> &Option<i32>
pub fn get_missing_count(&self) -> &Option<i32>
The number of patches that are part of the compliance standard but are not installed. The count includes patches that failed to install.
sourcepub fn failed_count(self, input: i32) -> Self
pub fn failed_count(self, input: i32) -> Self
The number of patches from the compliance standard that failed to install.
sourcepub fn set_failed_count(self, input: Option<i32>) -> Self
pub fn set_failed_count(self, input: Option<i32>) -> Self
The number of patches from the compliance standard that failed to install.
sourcepub fn get_failed_count(&self) -> &Option<i32>
pub fn get_failed_count(&self) -> &Option<i32>
The number of patches from the compliance standard that failed to install.
sourcepub fn installed_other_count(self, input: i32) -> Self
pub fn installed_other_count(self, input: i32) -> Self
The number of installed patches that are not part of the compliance standard.
sourcepub fn set_installed_other_count(self, input: Option<i32>) -> Self
pub fn set_installed_other_count(self, input: Option<i32>) -> Self
The number of installed patches that are not part of the compliance standard.
sourcepub fn get_installed_other_count(&self) -> &Option<i32>
pub fn get_installed_other_count(&self) -> &Option<i32>
The number of installed patches that are not part of the compliance standard.
sourcepub fn installed_rejected_count(self, input: i32) -> Self
pub fn installed_rejected_count(self, input: i32) -> Self
The number of patches that are installed but are also on a list of patches that the customer rejected.
sourcepub fn set_installed_rejected_count(self, input: Option<i32>) -> Self
pub fn set_installed_rejected_count(self, input: Option<i32>) -> Self
The number of patches that are installed but are also on a list of patches that the customer rejected.
sourcepub fn get_installed_rejected_count(&self) -> &Option<i32>
pub fn get_installed_rejected_count(&self) -> &Option<i32>
The number of patches that are installed but are also on a list of patches that the customer rejected.
sourcepub fn installed_pending_reboot(self, input: i32) -> Self
pub fn installed_pending_reboot(self, input: i32) -> Self
The number of patches that were applied, but that require the instance to be rebooted in order to be marked as installed.
sourcepub fn set_installed_pending_reboot(self, input: Option<i32>) -> Self
pub fn set_installed_pending_reboot(self, input: Option<i32>) -> Self
The number of patches that were applied, but that require the instance to be rebooted in order to be marked as installed.
sourcepub fn get_installed_pending_reboot(&self) -> &Option<i32>
pub fn get_installed_pending_reboot(&self) -> &Option<i32>
The number of patches that were applied, but that require the instance to be rebooted in order to be marked as installed.
sourcepub fn operation_start_time(self, input: impl Into<String>) -> Self
pub fn operation_start_time(self, input: impl Into<String>) -> Self
Indicates when the operation started.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn set_operation_start_time(self, input: Option<String>) -> Self
pub fn set_operation_start_time(self, input: Option<String>) -> Self
Indicates when the operation started.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn get_operation_start_time(&self) -> &Option<String>
pub fn get_operation_start_time(&self) -> &Option<String>
Indicates when the operation started.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn operation_end_time(self, input: impl Into<String>) -> Self
pub fn operation_end_time(self, input: impl Into<String>) -> Self
Indicates when the operation completed.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn set_operation_end_time(self, input: Option<String>) -> Self
pub fn set_operation_end_time(self, input: Option<String>) -> Self
Indicates when the operation completed.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn get_operation_end_time(&self) -> &Option<String>
pub fn get_operation_end_time(&self) -> &Option<String>
Indicates when the operation completed.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn reboot_option(self, input: impl Into<String>) -> Self
pub fn reboot_option(self, input: impl Into<String>) -> Self
The reboot option specified for the instance.
sourcepub fn set_reboot_option(self, input: Option<String>) -> Self
pub fn set_reboot_option(self, input: Option<String>) -> Self
The reboot option specified for the instance.
sourcepub fn get_reboot_option(&self) -> &Option<String>
pub fn get_reboot_option(&self) -> &Option<String>
The reboot option specified for the instance.
sourcepub fn operation(self, input: impl Into<String>) -> Self
pub fn operation(self, input: impl Into<String>) -> Self
The type of patch operation performed. For Patch Manager, the values are SCAN
and INSTALL
.
sourcepub fn set_operation(self, input: Option<String>) -> Self
pub fn set_operation(self, input: Option<String>) -> Self
The type of patch operation performed. For Patch Manager, the values are SCAN
and INSTALL
.
sourcepub fn get_operation(&self) -> &Option<String>
pub fn get_operation(&self) -> &Option<String>
The type of patch operation performed. For Patch Manager, the values are SCAN
and INSTALL
.
sourcepub fn build(self) -> PatchSummary
pub fn build(self) -> PatchSummary
Consumes the builder and constructs a PatchSummary
.
Trait Implementations§
source§impl Clone for PatchSummaryBuilder
impl Clone for PatchSummaryBuilder
source§fn clone(&self) -> PatchSummaryBuilder
fn clone(&self) -> PatchSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PatchSummaryBuilder
impl Debug for PatchSummaryBuilder
source§impl Default for PatchSummaryBuilder
impl Default for PatchSummaryBuilder
source§fn default() -> PatchSummaryBuilder
fn default() -> PatchSummaryBuilder
source§impl PartialEq for PatchSummaryBuilder
impl PartialEq for PatchSummaryBuilder
source§fn eq(&self, other: &PatchSummaryBuilder) -> bool
fn eq(&self, other: &PatchSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PatchSummaryBuilder
Auto Trait Implementations§
impl Freeze for PatchSummaryBuilder
impl RefUnwindSafe for PatchSummaryBuilder
impl Send for PatchSummaryBuilder
impl Sync for PatchSummaryBuilder
impl Unpin for PatchSummaryBuilder
impl UnwindSafe for PatchSummaryBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more