Struct aws_sdk_ecs::operation::update_container_agent::builders::UpdateContainerAgentInputBuilder
source · #[non_exhaustive]pub struct UpdateContainerAgentInputBuilder { /* private fields */ }Expand description
A builder for UpdateContainerAgentInput.
Implementations§
source§impl UpdateContainerAgentInputBuilder
impl UpdateContainerAgentInputBuilder
sourcepub fn cluster(self, input: impl Into<String>) -> Self
pub fn cluster(self, input: impl Into<String>) -> Self
The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is running on. If you do not specify a cluster, the default cluster is assumed.
sourcepub fn set_cluster(self, input: Option<String>) -> Self
pub fn set_cluster(self, input: Option<String>) -> Self
The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is running on. If you do not specify a cluster, the default cluster is assumed.
sourcepub fn container_instance(self, input: impl Into<String>) -> Self
pub fn container_instance(self, input: impl Into<String>) -> Self
The container instance ID or full ARN entries for the container instance where you would like to update the Amazon ECS container agent.
sourcepub fn set_container_instance(self, input: Option<String>) -> Self
pub fn set_container_instance(self, input: Option<String>) -> Self
The container instance ID or full ARN entries for the container instance where you would like to update the Amazon ECS container agent.
sourcepub fn build(self) -> Result<UpdateContainerAgentInput, BuildError>
pub fn build(self) -> Result<UpdateContainerAgentInput, BuildError>
Consumes the builder and constructs a UpdateContainerAgentInput.
Trait Implementations§
source§impl Clone for UpdateContainerAgentInputBuilder
impl Clone for UpdateContainerAgentInputBuilder
source§fn clone(&self) -> UpdateContainerAgentInputBuilder
fn clone(&self) -> UpdateContainerAgentInputBuilder
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 UpdateContainerAgentInputBuilder
impl Default for UpdateContainerAgentInputBuilder
source§fn default() -> UpdateContainerAgentInputBuilder
fn default() -> UpdateContainerAgentInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateContainerAgentInputBuilder> for UpdateContainerAgentInputBuilder
impl PartialEq<UpdateContainerAgentInputBuilder> for UpdateContainerAgentInputBuilder
source§fn eq(&self, other: &UpdateContainerAgentInputBuilder) -> bool
fn eq(&self, other: &UpdateContainerAgentInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.