Struct aws_sdk_securityhub::model::patch_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for PatchSummary
.
Implementations§
source§impl Builder
impl Builder
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.
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 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 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 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 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 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 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 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.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
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.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
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.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
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.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
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 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 build(self) -> PatchSummary
pub fn build(self) -> PatchSummary
Consumes the builder and constructs a PatchSummary
.