Struct aws_sdk_ssm::operation::describe_instance_patches::builders::DescribeInstancePatchesOutputBuilder
source · #[non_exhaustive]pub struct DescribeInstancePatchesOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeInstancePatchesOutput
.
Implementations§
source§impl DescribeInstancePatchesOutputBuilder
impl DescribeInstancePatchesOutputBuilder
sourcepub fn patches(self, input: PatchComplianceData) -> Self
pub fn patches(self, input: PatchComplianceData) -> Self
Appends an item to patches
.
To override the contents of this collection use set_patches
.
Each entry in the array is a structure containing:
-
Title (string)
-
KBId (string)
-
Classification (string)
-
Severity (string)
-
State (string, such as "INSTALLED" or "FAILED")
-
InstalledTime (DateTime)
-
InstalledBy (string)
sourcepub fn set_patches(self, input: Option<Vec<PatchComplianceData>>) -> Self
pub fn set_patches(self, input: Option<Vec<PatchComplianceData>>) -> Self
Each entry in the array is a structure containing:
-
Title (string)
-
KBId (string)
-
Classification (string)
-
Severity (string)
-
State (string, such as "INSTALLED" or "FAILED")
-
InstalledTime (DateTime)
-
InstalledBy (string)
sourcepub fn get_patches(&self) -> &Option<Vec<PatchComplianceData>>
pub fn get_patches(&self) -> &Option<Vec<PatchComplianceData>>
Each entry in the array is a structure containing:
-
Title (string)
-
KBId (string)
-
Classification (string)
-
Severity (string)
-
State (string, such as "INSTALLED" or "FAILED")
-
InstalledTime (DateTime)
-
InstalledBy (string)
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
sourcepub fn build(self) -> DescribeInstancePatchesOutput
pub fn build(self) -> DescribeInstancePatchesOutput
Consumes the builder and constructs a DescribeInstancePatchesOutput
.
Trait Implementations§
source§impl Clone for DescribeInstancePatchesOutputBuilder
impl Clone for DescribeInstancePatchesOutputBuilder
source§fn clone(&self) -> DescribeInstancePatchesOutputBuilder
fn clone(&self) -> DescribeInstancePatchesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeInstancePatchesOutputBuilder
impl Default for DescribeInstancePatchesOutputBuilder
source§fn default() -> DescribeInstancePatchesOutputBuilder
fn default() -> DescribeInstancePatchesOutputBuilder
source§impl PartialEq for DescribeInstancePatchesOutputBuilder
impl PartialEq for DescribeInstancePatchesOutputBuilder
source§fn eq(&self, other: &DescribeInstancePatchesOutputBuilder) -> bool
fn eq(&self, other: &DescribeInstancePatchesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.