#[non_exhaustive]pub struct UpdateTaskSetInputBuilder { /* private fields */ }Expand description
A builder for UpdateTaskSetInput.
Implementations§
source§impl UpdateTaskSetInputBuilder
impl UpdateTaskSetInputBuilder
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 hosts the service that the task set is found in.
This field is required.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 hosts the service that the task set is found in.
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 hosts the service that the task set is found in.
sourcepub fn service(self, input: impl Into<String>) -> Self
pub fn service(self, input: impl Into<String>) -> Self
The short name or full Amazon Resource Name (ARN) of the service that the task set is found in.
This field is required.sourcepub fn set_service(self, input: Option<String>) -> Self
pub fn set_service(self, input: Option<String>) -> Self
The short name or full Amazon Resource Name (ARN) of the service that the task set is found in.
sourcepub fn get_service(&self) -> &Option<String>
pub fn get_service(&self) -> &Option<String>
The short name or full Amazon Resource Name (ARN) of the service that the task set is found in.
sourcepub fn task_set(self, input: impl Into<String>) -> Self
pub fn task_set(self, input: impl Into<String>) -> Self
The short name or full Amazon Resource Name (ARN) of the task set to update.
This field is required.sourcepub fn set_task_set(self, input: Option<String>) -> Self
pub fn set_task_set(self, input: Option<String>) -> Self
The short name or full Amazon Resource Name (ARN) of the task set to update.
sourcepub fn get_task_set(&self) -> &Option<String>
pub fn get_task_set(&self) -> &Option<String>
The short name or full Amazon Resource Name (ARN) of the task set to update.
sourcepub fn scale(self, input: Scale) -> Self
pub fn scale(self, input: Scale) -> Self
A floating-point percentage of the desired number of tasks to place and keep running in the task set.
This field is required.sourcepub fn set_scale(self, input: Option<Scale>) -> Self
pub fn set_scale(self, input: Option<Scale>) -> Self
A floating-point percentage of the desired number of tasks to place and keep running in the task set.
sourcepub fn get_scale(&self) -> &Option<Scale>
pub fn get_scale(&self) -> &Option<Scale>
A floating-point percentage of the desired number of tasks to place and keep running in the task set.
sourcepub fn build(self) -> Result<UpdateTaskSetInput, BuildError>
pub fn build(self) -> Result<UpdateTaskSetInput, BuildError>
Consumes the builder and constructs a UpdateTaskSetInput.
source§impl UpdateTaskSetInputBuilder
impl UpdateTaskSetInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateTaskSetOutput, SdkError<UpdateTaskSetError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateTaskSetOutput, SdkError<UpdateTaskSetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateTaskSetInputBuilder
impl Clone for UpdateTaskSetInputBuilder
source§fn clone(&self) -> UpdateTaskSetInputBuilder
fn clone(&self) -> UpdateTaskSetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateTaskSetInputBuilder
impl Debug for UpdateTaskSetInputBuilder
source§impl Default for UpdateTaskSetInputBuilder
impl Default for UpdateTaskSetInputBuilder
source§fn default() -> UpdateTaskSetInputBuilder
fn default() -> UpdateTaskSetInputBuilder
impl StructuralPartialEq for UpdateTaskSetInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateTaskSetInputBuilder
impl RefUnwindSafe for UpdateTaskSetInputBuilder
impl Send for UpdateTaskSetInputBuilder
impl Sync for UpdateTaskSetInputBuilder
impl Unpin for UpdateTaskSetInputBuilder
impl UnwindSafe for UpdateTaskSetInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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