Struct aws_sdk_ssm::operation::register_default_patch_baseline::builders::RegisterDefaultPatchBaselineFluentBuilder
source · pub struct RegisterDefaultPatchBaselineFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to RegisterDefaultPatchBaseline
.
Defines the default patch baseline for the relevant operating system.
To reset the Amazon Web Services-predefined patch baseline as the default, specify the full patch baseline Amazon Resource Name (ARN) as the baseline ID value. For example, for CentOS, specify arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0574b43a65ea646ed
instead of pb-0574b43a65ea646ed
.
Implementations§
source§impl RegisterDefaultPatchBaselineFluentBuilder
impl RegisterDefaultPatchBaselineFluentBuilder
sourcepub fn as_input(&self) -> &RegisterDefaultPatchBaselineInputBuilder
pub fn as_input(&self) -> &RegisterDefaultPatchBaselineInputBuilder
Access the RegisterDefaultPatchBaseline as a reference.
sourcepub async fn send(
self
) -> Result<RegisterDefaultPatchBaselineOutput, SdkError<RegisterDefaultPatchBaselineError, HttpResponse>>
pub async fn send( self ) -> Result<RegisterDefaultPatchBaselineOutput, SdkError<RegisterDefaultPatchBaselineError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<RegisterDefaultPatchBaselineOutput, RegisterDefaultPatchBaselineError, Self>
pub fn customize( self ) -> CustomizableOperation<RegisterDefaultPatchBaselineOutput, RegisterDefaultPatchBaselineError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 that should be the default patch baseline.
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 that should be the default patch baseline.
sourcepub fn get_baseline_id(&self) -> &Option<String>
pub fn get_baseline_id(&self) -> &Option<String>
The ID of the patch baseline that should be the default patch baseline.
Trait Implementations§
source§impl Clone for RegisterDefaultPatchBaselineFluentBuilder
impl Clone for RegisterDefaultPatchBaselineFluentBuilder
source§fn clone(&self) -> RegisterDefaultPatchBaselineFluentBuilder
fn clone(&self) -> RegisterDefaultPatchBaselineFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for RegisterDefaultPatchBaselineFluentBuilder
impl !RefUnwindSafe for RegisterDefaultPatchBaselineFluentBuilder
impl Send for RegisterDefaultPatchBaselineFluentBuilder
impl Sync for RegisterDefaultPatchBaselineFluentBuilder
impl Unpin for RegisterDefaultPatchBaselineFluentBuilder
impl !UnwindSafe for RegisterDefaultPatchBaselineFluentBuilder
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