Struct aws_sdk_ssm::types::builders::InstancePropertyBuilder

source ·
#[non_exhaustive]
pub struct InstancePropertyBuilder { /* private fields */ }
Expand description

A builder for InstanceProperty.

Implementations§

source§

impl InstancePropertyBuilder

source

pub fn name(self, input: impl Into<String>) -> Self

The value of the EC2 Name tag associated with the node. If a Name tag hasn't been applied to the node, this value is blank.

source

pub fn set_name(self, input: Option<String>) -> Self

The value of the EC2 Name tag associated with the node. If a Name tag hasn't been applied to the node, this value is blank.

source

pub fn get_name(&self) -> &Option<String>

The value of the EC2 Name tag associated with the node. If a Name tag hasn't been applied to the node, this value is blank.

source

pub fn instance_id(self, input: impl Into<String>) -> Self

The ID of the managed node.

source

pub fn set_instance_id(self, input: Option<String>) -> Self

The ID of the managed node.

source

pub fn get_instance_id(&self) -> &Option<String>

The ID of the managed node.

source

pub fn instance_type(self, input: impl Into<String>) -> Self

The instance type of the managed node. For example, t3.large.

source

pub fn set_instance_type(self, input: Option<String>) -> Self

The instance type of the managed node. For example, t3.large.

source

pub fn get_instance_type(&self) -> &Option<String>

The instance type of the managed node. For example, t3.large.

source

pub fn instance_role(self, input: impl Into<String>) -> Self

The instance profile attached to the node. If an instance profile isn't attached to the node, this value is blank.

source

pub fn set_instance_role(self, input: Option<String>) -> Self

The instance profile attached to the node. If an instance profile isn't attached to the node, this value is blank.

source

pub fn get_instance_role(&self) -> &Option<String>

The instance profile attached to the node. If an instance profile isn't attached to the node, this value is blank.

source

pub fn key_name(self, input: impl Into<String>) -> Self

The name of the key pair associated with the node. If a key pair isnt't associated with the node, this value is blank.

source

pub fn set_key_name(self, input: Option<String>) -> Self

The name of the key pair associated with the node. If a key pair isnt't associated with the node, this value is blank.

source

pub fn get_key_name(&self) -> &Option<String>

The name of the key pair associated with the node. If a key pair isnt't associated with the node, this value is blank.

source

pub fn instance_state(self, input: impl Into<String>) -> Self

The current state of the node.

source

pub fn set_instance_state(self, input: Option<String>) -> Self

The current state of the node.

source

pub fn get_instance_state(&self) -> &Option<String>

The current state of the node.

source

pub fn architecture(self, input: impl Into<String>) -> Self

The CPU architecture of the node. For example, x86_64.

source

pub fn set_architecture(self, input: Option<String>) -> Self

The CPU architecture of the node. For example, x86_64.

source

pub fn get_architecture(&self) -> &Option<String>

The CPU architecture of the node. For example, x86_64.

source

pub fn ip_address(self, input: impl Into<String>) -> Self

The public IPv4 address assigned to the node. If a public IPv4 address isn't assigned to the node, this value is blank.

source

pub fn set_ip_address(self, input: Option<String>) -> Self

The public IPv4 address assigned to the node. If a public IPv4 address isn't assigned to the node, this value is blank.

source

pub fn get_ip_address(&self) -> &Option<String>

The public IPv4 address assigned to the node. If a public IPv4 address isn't assigned to the node, this value is blank.

source

pub fn launch_time(self, input: DateTime) -> Self

The timestamp for when the node was launched.

source

pub fn set_launch_time(self, input: Option<DateTime>) -> Self

The timestamp for when the node was launched.

source

pub fn get_launch_time(&self) -> &Option<DateTime>

The timestamp for when the node was launched.

source

pub fn ping_status(self, input: PingStatus) -> Self

Connection status of the SSM Agent on the managed node.

source

pub fn set_ping_status(self, input: Option<PingStatus>) -> Self

Connection status of the SSM Agent on the managed node.

source

pub fn get_ping_status(&self) -> &Option<PingStatus>

Connection status of the SSM Agent on the managed node.

source

pub fn last_ping_date_time(self, input: DateTime) -> Self

The date and time when the SSM Agent last pinged the Systems Manager service.

source

pub fn set_last_ping_date_time(self, input: Option<DateTime>) -> Self

The date and time when the SSM Agent last pinged the Systems Manager service.

source

pub fn get_last_ping_date_time(&self) -> &Option<DateTime>

The date and time when the SSM Agent last pinged the Systems Manager service.

source

pub fn agent_version(self, input: impl Into<String>) -> Self

The version of SSM Agent running on your managed node.

source

pub fn set_agent_version(self, input: Option<String>) -> Self

The version of SSM Agent running on your managed node.

source

pub fn get_agent_version(&self) -> &Option<String>

The version of SSM Agent running on your managed node.

source

pub fn platform_type(self, input: PlatformType) -> Self

The operating system platform type of the managed node. For example, Windows.

source

pub fn set_platform_type(self, input: Option<PlatformType>) -> Self

The operating system platform type of the managed node. For example, Windows.

source

pub fn get_platform_type(&self) -> &Option<PlatformType>

The operating system platform type of the managed node. For example, Windows.

source

pub fn platform_name(self, input: impl Into<String>) -> Self

The name of the operating system platform running on your managed node.

source

pub fn set_platform_name(self, input: Option<String>) -> Self

The name of the operating system platform running on your managed node.

source

pub fn get_platform_name(&self) -> &Option<String>

The name of the operating system platform running on your managed node.

source

pub fn platform_version(self, input: impl Into<String>) -> Self

The version of the OS platform running on your managed node.

source

pub fn set_platform_version(self, input: Option<String>) -> Self

The version of the OS platform running on your managed node.

source

pub fn get_platform_version(&self) -> &Option<String>

The version of the OS platform running on your managed node.

source

pub fn activation_id(self, input: impl Into<String>) -> Self

The activation ID created by Systems Manager when the server or virtual machine (VM) was registered

source

pub fn set_activation_id(self, input: Option<String>) -> Self

The activation ID created by Systems Manager when the server or virtual machine (VM) was registered

source

pub fn get_activation_id(&self) -> &Option<String>

The activation ID created by Systems Manager when the server or virtual machine (VM) was registered

source

pub fn iam_role(self, input: impl Into<String>) -> Self

The IAM role used in the hybrid activation to register the node with Systems Manager.

source

pub fn set_iam_role(self, input: Option<String>) -> Self

The IAM role used in the hybrid activation to register the node with Systems Manager.

source

pub fn get_iam_role(&self) -> &Option<String>

The IAM role used in the hybrid activation to register the node with Systems Manager.

source

pub fn registration_date(self, input: DateTime) -> Self

The date the node was registered with Systems Manager.

source

pub fn set_registration_date(self, input: Option<DateTime>) -> Self

The date the node was registered with Systems Manager.

source

pub fn get_registration_date(&self) -> &Option<DateTime>

The date the node was registered with Systems Manager.

source

pub fn resource_type(self, input: impl Into<String>) -> Self

The type of managed node.

source

pub fn set_resource_type(self, input: Option<String>) -> Self

The type of managed node.

source

pub fn get_resource_type(&self) -> &Option<String>

The type of managed node.

source

pub fn computer_name(self, input: impl Into<String>) -> Self

The fully qualified host name of the managed node.

source

pub fn set_computer_name(self, input: Option<String>) -> Self

The fully qualified host name of the managed node.

source

pub fn get_computer_name(&self) -> &Option<String>

The fully qualified host name of the managed node.

source

pub fn association_status(self, input: impl Into<String>) -> Self

The status of the State Manager association applied to the managed node.

source

pub fn set_association_status(self, input: Option<String>) -> Self

The status of the State Manager association applied to the managed node.

source

pub fn get_association_status(&self) -> &Option<String>

The status of the State Manager association applied to the managed node.

source

pub fn last_association_execution_date(self, input: DateTime) -> Self

The date the association was last run.

source

pub fn set_last_association_execution_date( self, input: Option<DateTime> ) -> Self

The date the association was last run.

source

pub fn get_last_association_execution_date(&self) -> &Option<DateTime>

The date the association was last run.

source

pub fn last_successful_association_execution_date(self, input: DateTime) -> Self

The last date the association was successfully run.

source

pub fn set_last_successful_association_execution_date( self, input: Option<DateTime> ) -> Self

The last date the association was successfully run.

source

pub fn get_last_successful_association_execution_date( &self ) -> &Option<DateTime>

The last date the association was successfully run.

source

pub fn association_overview( self, input: InstanceAggregatedAssociationOverview ) -> Self

Status information about the aggregated associations.

source

pub fn set_association_overview( self, input: Option<InstanceAggregatedAssociationOverview> ) -> Self

Status information about the aggregated associations.

source

pub fn get_association_overview( &self ) -> &Option<InstanceAggregatedAssociationOverview>

Status information about the aggregated associations.

source

pub fn source_id(self, input: impl Into<String>) -> Self

The ID of the source resource.

source

pub fn set_source_id(self, input: Option<String>) -> Self

The ID of the source resource.

source

pub fn get_source_id(&self) -> &Option<String>

The ID of the source resource.

source

pub fn source_type(self, input: SourceType) -> Self

The type of the source resource.

source

pub fn set_source_type(self, input: Option<SourceType>) -> Self

The type of the source resource.

source

pub fn get_source_type(&self) -> &Option<SourceType>

The type of the source resource.

source

pub fn build(self) -> InstanceProperty

Consumes the builder and constructs a InstanceProperty.

Trait Implementations§

source§

impl Clone for InstancePropertyBuilder

source§

fn clone(&self) -> InstancePropertyBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InstancePropertyBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for InstancePropertyBuilder

source§

fn default() -> InstancePropertyBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for InstancePropertyBuilder

source§

fn eq(&self, other: &InstancePropertyBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for InstancePropertyBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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 more
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more