Struct aws_sdk_ssm::types::builders::InstanceAssociationBuilder
source · #[non_exhaustive]pub struct InstanceAssociationBuilder { /* private fields */ }Expand description
A builder for InstanceAssociation.
Implementations§
source§impl InstanceAssociationBuilder
impl InstanceAssociationBuilder
sourcepub fn association_id(self, input: impl Into<String>) -> Self
pub fn association_id(self, input: impl Into<String>) -> Self
The association ID.
sourcepub fn set_association_id(self, input: Option<String>) -> Self
pub fn set_association_id(self, input: Option<String>) -> Self
The association ID.
sourcepub fn get_association_id(&self) -> &Option<String>
pub fn get_association_id(&self) -> &Option<String>
The association ID.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The managed node ID.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The managed node ID.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The managed node ID.
sourcepub fn content(self, input: impl Into<String>) -> Self
pub fn content(self, input: impl Into<String>) -> Self
The content of the association document for the managed nodes.
sourcepub fn set_content(self, input: Option<String>) -> Self
pub fn set_content(self, input: Option<String>) -> Self
The content of the association document for the managed nodes.
sourcepub fn get_content(&self) -> &Option<String>
pub fn get_content(&self) -> &Option<String>
The content of the association document for the managed nodes.
sourcepub fn association_version(self, input: impl Into<String>) -> Self
pub fn association_version(self, input: impl Into<String>) -> Self
Version information for the association on the managed node.
sourcepub fn set_association_version(self, input: Option<String>) -> Self
pub fn set_association_version(self, input: Option<String>) -> Self
Version information for the association on the managed node.
sourcepub fn get_association_version(&self) -> &Option<String>
pub fn get_association_version(&self) -> &Option<String>
Version information for the association on the managed node.
sourcepub fn build(self) -> InstanceAssociation
pub fn build(self) -> InstanceAssociation
Consumes the builder and constructs a InstanceAssociation.
Trait Implementations§
source§impl Clone for InstanceAssociationBuilder
impl Clone for InstanceAssociationBuilder
source§fn clone(&self) -> InstanceAssociationBuilder
fn clone(&self) -> InstanceAssociationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for InstanceAssociationBuilder
impl Debug for InstanceAssociationBuilder
source§impl Default for InstanceAssociationBuilder
impl Default for InstanceAssociationBuilder
source§fn default() -> InstanceAssociationBuilder
fn default() -> InstanceAssociationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InstanceAssociationBuilder
impl PartialEq for InstanceAssociationBuilder
source§fn eq(&self, other: &InstanceAssociationBuilder) -> bool
fn eq(&self, other: &InstanceAssociationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InstanceAssociationBuilder
Auto Trait Implementations§
impl Freeze for InstanceAssociationBuilder
impl RefUnwindSafe for InstanceAssociationBuilder
impl Send for InstanceAssociationBuilder
impl Sync for InstanceAssociationBuilder
impl Unpin for InstanceAssociationBuilder
impl UnwindSafe for InstanceAssociationBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.