Struct aws_sdk_securityhub::model::process_details::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ProcessDetails
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn parent_pid(self, input: i32) -> Self
pub fn parent_pid(self, input: i32) -> Self
The parent process ID.
sourcepub fn set_parent_pid(self, input: Option<i32>) -> Self
pub fn set_parent_pid(self, input: Option<i32>) -> Self
The parent process ID.
sourcepub fn launched_at(self, input: impl Into<String>) -> Self
pub fn launched_at(self, input: impl Into<String>) -> Self
Indicates when the process was launched.
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_launched_at(self, input: Option<String>) -> Self
pub fn set_launched_at(self, input: Option<String>) -> Self
Indicates when the process was launched.
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 terminated_at(self, input: impl Into<String>) -> Self
pub fn terminated_at(self, input: impl Into<String>) -> Self
Indicates when the process was terminated.
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_terminated_at(self, input: Option<String>) -> Self
pub fn set_terminated_at(self, input: Option<String>) -> Self
Indicates when the process was terminated.
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 build(self) -> ProcessDetails
pub fn build(self) -> ProcessDetails
Consumes the builder and constructs a ProcessDetails
.