Struct aws_sdk_ecs::types::builders::ManagedAgentStateChangeBuilder
source · #[non_exhaustive]pub struct ManagedAgentStateChangeBuilder { /* private fields */ }Expand description
A builder for ManagedAgentStateChange.
Implementations§
source§impl ManagedAgentStateChangeBuilder
impl ManagedAgentStateChangeBuilder
sourcepub fn container_name(self, input: impl Into<String>) -> Self
pub fn container_name(self, input: impl Into<String>) -> Self
The name of the container that's associated with the managed agent.
sourcepub fn set_container_name(self, input: Option<String>) -> Self
pub fn set_container_name(self, input: Option<String>) -> Self
The name of the container that's associated with the managed agent.
sourcepub fn managed_agent_name(self, input: ManagedAgentName) -> Self
pub fn managed_agent_name(self, input: ManagedAgentName) -> Self
The name of the managed agent.
sourcepub fn set_managed_agent_name(self, input: Option<ManagedAgentName>) -> Self
pub fn set_managed_agent_name(self, input: Option<ManagedAgentName>) -> Self
The name of the managed agent.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the managed agent.
sourcepub fn reason(self, input: impl Into<String>) -> Self
pub fn reason(self, input: impl Into<String>) -> Self
The reason for the status of the managed agent.
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
The reason for the status of the managed agent.
sourcepub fn build(self) -> ManagedAgentStateChange
pub fn build(self) -> ManagedAgentStateChange
Consumes the builder and constructs a ManagedAgentStateChange.
Trait Implementations§
source§impl Clone for ManagedAgentStateChangeBuilder
impl Clone for ManagedAgentStateChangeBuilder
source§fn clone(&self) -> ManagedAgentStateChangeBuilder
fn clone(&self) -> ManagedAgentStateChangeBuilder
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 Default for ManagedAgentStateChangeBuilder
impl Default for ManagedAgentStateChangeBuilder
source§fn default() -> ManagedAgentStateChangeBuilder
fn default() -> ManagedAgentStateChangeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ManagedAgentStateChangeBuilder> for ManagedAgentStateChangeBuilder
impl PartialEq<ManagedAgentStateChangeBuilder> for ManagedAgentStateChangeBuilder
source§fn eq(&self, other: &ManagedAgentStateChangeBuilder) -> bool
fn eq(&self, other: &ManagedAgentStateChangeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.