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 get_cluster(&self) -> &Option<String>
pub fn get_cluster(&self) -> &Option<String>
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.
This field is required.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 get_container_instance(&self) -> &Option<String>
pub fn get_container_instance(&self) -> &Option<String>
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
.
source§impl UpdateContainerAgentInputBuilder
impl UpdateContainerAgentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateContainerAgentOutput, SdkError<UpdateContainerAgentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateContainerAgentOutput, SdkError<UpdateContainerAgentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateContainerAgentInputBuilder
impl Clone for UpdateContainerAgentInputBuilder
source§fn clone(&self) -> UpdateContainerAgentInputBuilder
fn clone(&self) -> UpdateContainerAgentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateContainerAgentInputBuilder
impl Default for UpdateContainerAgentInputBuilder
source§fn default() -> UpdateContainerAgentInputBuilder
fn default() -> UpdateContainerAgentInputBuilder
source§impl PartialEq for UpdateContainerAgentInputBuilder
impl PartialEq for UpdateContainerAgentInputBuilder
source§fn eq(&self, other: &UpdateContainerAgentInputBuilder) -> bool
fn eq(&self, other: &UpdateContainerAgentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.