Struct aws_sdk_ecs::operation::update_service_primary_task_set::builders::UpdateServicePrimaryTaskSetInputBuilder
source · #[non_exhaustive]pub struct UpdateServicePrimaryTaskSetInputBuilder { /* private fields */ }
Expand description
A builder for UpdateServicePrimaryTaskSetInput
.
Implementations§
source§impl UpdateServicePrimaryTaskSetInputBuilder
impl UpdateServicePrimaryTaskSetInputBuilder
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 exists in.
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 exists 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 exists 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 exists in.
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 exists 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 exists in.
sourcepub fn primary_task_set(self, input: impl Into<String>) -> Self
pub fn primary_task_set(self, input: impl Into<String>) -> Self
The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.
sourcepub fn set_primary_task_set(self, input: Option<String>) -> Self
pub fn set_primary_task_set(self, input: Option<String>) -> Self
The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.
sourcepub fn get_primary_task_set(&self) -> &Option<String>
pub fn get_primary_task_set(&self) -> &Option<String>
The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.
sourcepub fn build(self) -> Result<UpdateServicePrimaryTaskSetInput, BuildError>
pub fn build(self) -> Result<UpdateServicePrimaryTaskSetInput, BuildError>
Consumes the builder and constructs a UpdateServicePrimaryTaskSetInput
.
source§impl UpdateServicePrimaryTaskSetInputBuilder
impl UpdateServicePrimaryTaskSetInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateServicePrimaryTaskSetOutput, SdkError<UpdateServicePrimaryTaskSetError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateServicePrimaryTaskSetOutput, SdkError<UpdateServicePrimaryTaskSetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateServicePrimaryTaskSetInputBuilder
impl Clone for UpdateServicePrimaryTaskSetInputBuilder
source§fn clone(&self) -> UpdateServicePrimaryTaskSetInputBuilder
fn clone(&self) -> UpdateServicePrimaryTaskSetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateServicePrimaryTaskSetInputBuilder
impl Default for UpdateServicePrimaryTaskSetInputBuilder
source§fn default() -> UpdateServicePrimaryTaskSetInputBuilder
fn default() -> UpdateServicePrimaryTaskSetInputBuilder
source§impl PartialEq<UpdateServicePrimaryTaskSetInputBuilder> for UpdateServicePrimaryTaskSetInputBuilder
impl PartialEq<UpdateServicePrimaryTaskSetInputBuilder> for UpdateServicePrimaryTaskSetInputBuilder
source§fn eq(&self, other: &UpdateServicePrimaryTaskSetInputBuilder) -> bool
fn eq(&self, other: &UpdateServicePrimaryTaskSetInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.