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.
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 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.
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 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.
This field is required.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 for UpdateServicePrimaryTaskSetInputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for UpdateServicePrimaryTaskSetInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateServicePrimaryTaskSetInputBuilder
impl RefUnwindSafe for UpdateServicePrimaryTaskSetInputBuilder
impl Send for UpdateServicePrimaryTaskSetInputBuilder
impl Sync for UpdateServicePrimaryTaskSetInputBuilder
impl Unpin for UpdateServicePrimaryTaskSetInputBuilder
impl UnwindSafe for UpdateServicePrimaryTaskSetInputBuilder
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> 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