Struct aws_sdk_ssm::types::builders::ActivationBuilder
source · #[non_exhaustive]pub struct ActivationBuilder { /* private fields */ }Expand description
A builder for Activation.
Implementations§
source§impl ActivationBuilder
impl ActivationBuilder
sourcepub fn activation_id(self, input: impl Into<String>) -> Self
pub fn activation_id(self, input: impl Into<String>) -> Self
The ID created by Systems Manager when you submitted the activation.
sourcepub fn set_activation_id(self, input: Option<String>) -> Self
pub fn set_activation_id(self, input: Option<String>) -> Self
The ID created by Systems Manager when you submitted the activation.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A user defined description of the activation.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A user defined description of the activation.
sourcepub fn default_instance_name(self, input: impl Into<String>) -> Self
pub fn default_instance_name(self, input: impl Into<String>) -> Self
A name for the managed node when it is created.
sourcepub fn set_default_instance_name(self, input: Option<String>) -> Self
pub fn set_default_instance_name(self, input: Option<String>) -> Self
A name for the managed node when it is created.
sourcepub fn iam_role(self, input: impl Into<String>) -> Self
pub fn iam_role(self, input: impl Into<String>) -> Self
The Identity and Access Management (IAM) role to assign to the managed node.
sourcepub fn set_iam_role(self, input: Option<String>) -> Self
pub fn set_iam_role(self, input: Option<String>) -> Self
The Identity and Access Management (IAM) role to assign to the managed node.
sourcepub fn registration_limit(self, input: i32) -> Self
pub fn registration_limit(self, input: i32) -> Self
The maximum number of managed nodes that can be registered using this activation.
sourcepub fn set_registration_limit(self, input: Option<i32>) -> Self
pub fn set_registration_limit(self, input: Option<i32>) -> Self
The maximum number of managed nodes that can be registered using this activation.
sourcepub fn registrations_count(self, input: i32) -> Self
pub fn registrations_count(self, input: i32) -> Self
The number of managed nodes already registered with this activation.
sourcepub fn set_registrations_count(self, input: Option<i32>) -> Self
pub fn set_registrations_count(self, input: Option<i32>) -> Self
The number of managed nodes already registered with this activation.
sourcepub fn expiration_date(self, input: DateTime) -> Self
pub fn expiration_date(self, input: DateTime) -> Self
The date when this activation can no longer be used to register managed nodes.
sourcepub fn set_expiration_date(self, input: Option<DateTime>) -> Self
pub fn set_expiration_date(self, input: Option<DateTime>) -> Self
The date when this activation can no longer be used to register managed nodes.
sourcepub fn set_expired(self, input: Option<bool>) -> Self
pub fn set_expired(self, input: Option<bool>) -> Self
Whether or not the activation is expired.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The date the activation was created.
sourcepub fn set_created_date(self, input: Option<DateTime>) -> Self
pub fn set_created_date(self, input: Option<DateTime>) -> Self
The date the activation was created.
Appends an item to tags.
To override the contents of this collection use set_tags.
Tags assigned to the activation.
Tags assigned to the activation.
sourcepub fn build(self) -> Activation
pub fn build(self) -> Activation
Consumes the builder and constructs a Activation.
Trait Implementations§
source§impl Clone for ActivationBuilder
impl Clone for ActivationBuilder
source§fn clone(&self) -> ActivationBuilder
fn clone(&self) -> ActivationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ActivationBuilder
impl Debug for ActivationBuilder
source§impl Default for ActivationBuilder
impl Default for ActivationBuilder
source§fn default() -> ActivationBuilder
fn default() -> ActivationBuilder
source§impl PartialEq<ActivationBuilder> for ActivationBuilder
impl PartialEq<ActivationBuilder> for ActivationBuilder
source§fn eq(&self, other: &ActivationBuilder) -> bool
fn eq(&self, other: &ActivationBuilder) -> bool
self and other values to be equal, and is used
by ==.