Struct aws_sdk_securityhub::types::builders::ProcessDetailsBuilder
source · #[non_exhaustive]pub struct ProcessDetailsBuilder { /* private fields */ }
Expand description
A builder for ProcessDetails
.
Implementations§
source§impl ProcessDetailsBuilder
impl ProcessDetailsBuilder
sourcepub fn parent_pid(self, input: i32) -> Self
pub fn parent_pid(self, input: i32) -> Self
The parent process ID. This field accepts positive integers between O
and 2147483647
.
sourcepub fn set_parent_pid(self, input: Option<i32>) -> Self
pub fn set_parent_pid(self, input: Option<i32>) -> Self
The parent process ID. This field accepts positive integers between O
and 2147483647
.
sourcepub fn get_parent_pid(&self) -> &Option<i32>
pub fn get_parent_pid(&self) -> &Option<i32>
The parent process ID. This field accepts positive integers between O
and 2147483647
.
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, and date and time should be separated by T
. 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, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn get_launched_at(&self) -> &Option<String>
pub fn get_launched_at(&self) -> &Option<String>
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, and date and time should be separated by T
. 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, and date and time should be separated by T
. 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, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn get_terminated_at(&self) -> &Option<String>
pub fn get_terminated_at(&self) -> &Option<String>
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, and date and time should be separated by T
. 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
.
Trait Implementations§
source§impl Clone for ProcessDetailsBuilder
impl Clone for ProcessDetailsBuilder
source§fn clone(&self) -> ProcessDetailsBuilder
fn clone(&self) -> ProcessDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProcessDetailsBuilder
impl Debug for ProcessDetailsBuilder
source§impl Default for ProcessDetailsBuilder
impl Default for ProcessDetailsBuilder
source§fn default() -> ProcessDetailsBuilder
fn default() -> ProcessDetailsBuilder
source§impl PartialEq for ProcessDetailsBuilder
impl PartialEq for ProcessDetailsBuilder
source§fn eq(&self, other: &ProcessDetailsBuilder) -> bool
fn eq(&self, other: &ProcessDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.