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 ==
.impl StructuralPartialEq for UpdateContainerAgentInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateContainerAgentInputBuilder
impl RefUnwindSafe for UpdateContainerAgentInputBuilder
impl Send for UpdateContainerAgentInputBuilder
impl Sync for UpdateContainerAgentInputBuilder
impl Unpin for UpdateContainerAgentInputBuilder
impl UnwindSafe for UpdateContainerAgentInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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