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 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 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 build(self) -> Result<UpdateServicePrimaryTaskSetInput, BuildError>
pub fn build(self) -> Result<UpdateServicePrimaryTaskSetInput, BuildError>
Consumes the builder and constructs a UpdateServicePrimaryTaskSetInput.
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 ==.