Struct aws_sdk_ecs::operation::delete_task_definitions::builders::DeleteTaskDefinitionsInputBuilder
source · #[non_exhaustive]pub struct DeleteTaskDefinitionsInputBuilder { /* private fields */ }Expand description
A builder for DeleteTaskDefinitionsInput.
Implementations§
source§impl DeleteTaskDefinitionsInputBuilder
impl DeleteTaskDefinitionsInputBuilder
sourcepub fn task_definitions(self, input: impl Into<String>) -> Self
pub fn task_definitions(self, input: impl Into<String>) -> Self
Appends an item to task_definitions.
To override the contents of this collection use set_task_definitions.
The family and revision (family:revision) or full Amazon Resource Name (ARN) of the task definition to delete. You must specify a revision.
You can specify up to 10 task definitions as a comma separated list.
sourcepub fn set_task_definitions(self, input: Option<Vec<String>>) -> Self
pub fn set_task_definitions(self, input: Option<Vec<String>>) -> Self
The family and revision (family:revision) or full Amazon Resource Name (ARN) of the task definition to delete. You must specify a revision.
You can specify up to 10 task definitions as a comma separated list.
sourcepub fn get_task_definitions(&self) -> &Option<Vec<String>>
pub fn get_task_definitions(&self) -> &Option<Vec<String>>
The family and revision (family:revision) or full Amazon Resource Name (ARN) of the task definition to delete. You must specify a revision.
You can specify up to 10 task definitions as a comma separated list.
sourcepub fn build(self) -> Result<DeleteTaskDefinitionsInput, BuildError>
pub fn build(self) -> Result<DeleteTaskDefinitionsInput, BuildError>
Consumes the builder and constructs a DeleteTaskDefinitionsInput.
source§impl DeleteTaskDefinitionsInputBuilder
impl DeleteTaskDefinitionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DeleteTaskDefinitionsOutput, SdkError<DeleteTaskDefinitionsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DeleteTaskDefinitionsOutput, SdkError<DeleteTaskDefinitionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteTaskDefinitionsInputBuilder
impl Clone for DeleteTaskDefinitionsInputBuilder
source§fn clone(&self) -> DeleteTaskDefinitionsInputBuilder
fn clone(&self) -> DeleteTaskDefinitionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DeleteTaskDefinitionsInputBuilder
impl Default for DeleteTaskDefinitionsInputBuilder
source§fn default() -> DeleteTaskDefinitionsInputBuilder
fn default() -> DeleteTaskDefinitionsInputBuilder
source§impl PartialEq for DeleteTaskDefinitionsInputBuilder
impl PartialEq for DeleteTaskDefinitionsInputBuilder
source§fn eq(&self, other: &DeleteTaskDefinitionsInputBuilder) -> bool
fn eq(&self, other: &DeleteTaskDefinitionsInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteTaskDefinitionsInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteTaskDefinitionsInputBuilder
impl RefUnwindSafe for DeleteTaskDefinitionsInputBuilder
impl Send for DeleteTaskDefinitionsInputBuilder
impl Sync for DeleteTaskDefinitionsInputBuilder
impl Unpin for DeleteTaskDefinitionsInputBuilder
impl UnwindSafe for DeleteTaskDefinitionsInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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