#[non_exhaustive]pub struct GetPatchBaselineInputBuilder { /* private fields */ }
Expand description
A builder for GetPatchBaselineInput
.
Implementations§
source§impl GetPatchBaselineInputBuilder
impl GetPatchBaselineInputBuilder
sourcepub fn baseline_id(self, input: impl Into<String>) -> Self
pub fn baseline_id(self, input: impl Into<String>) -> Self
The ID of the patch baseline to retrieve.
To retrieve information about an Amazon Web Services managed patch baseline, specify the full Amazon Resource Name (ARN) of the baseline. For example, for the baseline AWS-AmazonLinuxDefaultPatchBaseline
, specify arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0e392de35e7c563b7
instead of pb-0e392de35e7c563b7
.
sourcepub fn set_baseline_id(self, input: Option<String>) -> Self
pub fn set_baseline_id(self, input: Option<String>) -> Self
The ID of the patch baseline to retrieve.
To retrieve information about an Amazon Web Services managed patch baseline, specify the full Amazon Resource Name (ARN) of the baseline. For example, for the baseline AWS-AmazonLinuxDefaultPatchBaseline
, specify arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0e392de35e7c563b7
instead of pb-0e392de35e7c563b7
.
sourcepub fn get_baseline_id(&self) -> &Option<String>
pub fn get_baseline_id(&self) -> &Option<String>
The ID of the patch baseline to retrieve.
To retrieve information about an Amazon Web Services managed patch baseline, specify the full Amazon Resource Name (ARN) of the baseline. For example, for the baseline AWS-AmazonLinuxDefaultPatchBaseline
, specify arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0e392de35e7c563b7
instead of pb-0e392de35e7c563b7
.
sourcepub fn build(self) -> Result<GetPatchBaselineInput, BuildError>
pub fn build(self) -> Result<GetPatchBaselineInput, BuildError>
Consumes the builder and constructs a GetPatchBaselineInput
.
source§impl GetPatchBaselineInputBuilder
impl GetPatchBaselineInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetPatchBaselineOutput, SdkError<GetPatchBaselineError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetPatchBaselineOutput, SdkError<GetPatchBaselineError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetPatchBaselineInputBuilder
impl Clone for GetPatchBaselineInputBuilder
source§fn clone(&self) -> GetPatchBaselineInputBuilder
fn clone(&self) -> GetPatchBaselineInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetPatchBaselineInputBuilder
impl Debug for GetPatchBaselineInputBuilder
source§impl Default for GetPatchBaselineInputBuilder
impl Default for GetPatchBaselineInputBuilder
source§fn default() -> GetPatchBaselineInputBuilder
fn default() -> GetPatchBaselineInputBuilder
source§impl PartialEq for GetPatchBaselineInputBuilder
impl PartialEq for GetPatchBaselineInputBuilder
source§fn eq(&self, other: &GetPatchBaselineInputBuilder) -> bool
fn eq(&self, other: &GetPatchBaselineInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.