Struct aws_sdk_ecs::operation::update_service_primary_task_set::builders::UpdateServicePrimaryTaskSetFluentBuilder
source · pub struct UpdateServicePrimaryTaskSetFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateServicePrimaryTaskSet
.
Modifies which task set in a service is the primary task set. Any parameters that are updated on the primary task set in a service will transition to the service. This is used when a service uses the EXTERNAL
deployment controller type. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.
Implementations§
source§impl UpdateServicePrimaryTaskSetFluentBuilder
impl UpdateServicePrimaryTaskSetFluentBuilder
sourcepub fn as_input(&self) -> &UpdateServicePrimaryTaskSetInputBuilder
pub fn as_input(&self) -> &UpdateServicePrimaryTaskSetInputBuilder
Access the UpdateServicePrimaryTaskSet as a reference.
sourcepub async fn send(
self
) -> Result<UpdateServicePrimaryTaskSetOutput, SdkError<UpdateServicePrimaryTaskSetError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateServicePrimaryTaskSetOutput, SdkError<UpdateServicePrimaryTaskSetError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateServicePrimaryTaskSetOutput, UpdateServicePrimaryTaskSetError>, SdkError<UpdateServicePrimaryTaskSetError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateServicePrimaryTaskSetOutput, UpdateServicePrimaryTaskSetError>, SdkError<UpdateServicePrimaryTaskSetError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for UpdateServicePrimaryTaskSetFluentBuilder
impl Clone for UpdateServicePrimaryTaskSetFluentBuilder
source§fn clone(&self) -> UpdateServicePrimaryTaskSetFluentBuilder
fn clone(&self) -> UpdateServicePrimaryTaskSetFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more