#[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
source§impl PartialEq for UpdateTaskSetInputBuilder
impl PartialEq for UpdateTaskSetInputBuilder
source§fn eq(&self, other: &UpdateTaskSetInputBuilder) -> bool
fn eq(&self, other: &UpdateTaskSetInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.