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 ==
.impl StructuralPartialEq for DescribeInstancePatchesOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeInstancePatchesOutputBuilder
impl RefUnwindSafe for DescribeInstancePatchesOutputBuilder
impl Send for DescribeInstancePatchesOutputBuilder
impl Sync for DescribeInstancePatchesOutputBuilder
impl Unpin for DescribeInstancePatchesOutputBuilder
impl UnwindSafe for DescribeInstancePatchesOutputBuilder
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