Struct aws_sdk_ecs::operation::submit_attachment_state_changes::builders::SubmitAttachmentStateChangesInputBuilder
source · #[non_exhaustive]pub struct SubmitAttachmentStateChangesInputBuilder { /* private fields */ }Expand description
A builder for SubmitAttachmentStateChangesInput.
Implementations§
source§impl SubmitAttachmentStateChangesInputBuilder
impl SubmitAttachmentStateChangesInputBuilder
sourcepub fn cluster(self, input: impl Into<String>) -> Self
pub fn cluster(self, input: impl Into<String>) -> Self
The short name or full ARN of the cluster that hosts the container instance the attachment belongs to.
sourcepub fn set_cluster(self, input: Option<String>) -> Self
pub fn set_cluster(self, input: Option<String>) -> Self
The short name or full ARN of the cluster that hosts the container instance the attachment belongs to.
sourcepub fn attachments(self, input: AttachmentStateChange) -> Self
pub fn attachments(self, input: AttachmentStateChange) -> Self
Appends an item to attachments.
To override the contents of this collection use set_attachments.
Any attachments associated with the state change request.
sourcepub fn set_attachments(self, input: Option<Vec<AttachmentStateChange>>) -> Self
pub fn set_attachments(self, input: Option<Vec<AttachmentStateChange>>) -> Self
Any attachments associated with the state change request.
sourcepub fn build(self) -> Result<SubmitAttachmentStateChangesInput, BuildError>
pub fn build(self) -> Result<SubmitAttachmentStateChangesInput, BuildError>
Consumes the builder and constructs a SubmitAttachmentStateChangesInput.
Trait Implementations§
source§impl Clone for SubmitAttachmentStateChangesInputBuilder
impl Clone for SubmitAttachmentStateChangesInputBuilder
source§fn clone(&self) -> SubmitAttachmentStateChangesInputBuilder
fn clone(&self) -> SubmitAttachmentStateChangesInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for SubmitAttachmentStateChangesInputBuilder
impl Default for SubmitAttachmentStateChangesInputBuilder
source§fn default() -> SubmitAttachmentStateChangesInputBuilder
fn default() -> SubmitAttachmentStateChangesInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SubmitAttachmentStateChangesInputBuilder> for SubmitAttachmentStateChangesInputBuilder
impl PartialEq<SubmitAttachmentStateChangesInputBuilder> for SubmitAttachmentStateChangesInputBuilder
source§fn eq(&self, other: &SubmitAttachmentStateChangesInputBuilder) -> bool
fn eq(&self, other: &SubmitAttachmentStateChangesInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SubmitAttachmentStateChangesInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SubmitAttachmentStateChangesInputBuilder
impl Send for SubmitAttachmentStateChangesInputBuilder
impl Sync for SubmitAttachmentStateChangesInputBuilder
impl Unpin for SubmitAttachmentStateChangesInputBuilder
impl UnwindSafe for SubmitAttachmentStateChangesInputBuilder
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
Mutably borrows from an owned value. Read more