Struct aws_sdk_ec2::operation::disassociate_iam_instance_profile::builders::DisassociateIamInstanceProfileInputBuilder
source · #[non_exhaustive]pub struct DisassociateIamInstanceProfileInputBuilder { /* private fields */ }Expand description
A builder for DisassociateIamInstanceProfileInput.
Implementations§
source§impl DisassociateIamInstanceProfileInputBuilder
impl DisassociateIamInstanceProfileInputBuilder
sourcepub fn association_id(self, input: impl Into<String>) -> Self
pub fn association_id(self, input: impl Into<String>) -> Self
The ID of the IAM instance profile association.
This field is required.sourcepub fn set_association_id(self, input: Option<String>) -> Self
pub fn set_association_id(self, input: Option<String>) -> Self
The ID of the IAM instance profile association.
sourcepub fn get_association_id(&self) -> &Option<String>
pub fn get_association_id(&self) -> &Option<String>
The ID of the IAM instance profile association.
sourcepub fn build(self) -> Result<DisassociateIamInstanceProfileInput, BuildError>
pub fn build(self) -> Result<DisassociateIamInstanceProfileInput, BuildError>
Consumes the builder and constructs a DisassociateIamInstanceProfileInput.
source§impl DisassociateIamInstanceProfileInputBuilder
impl DisassociateIamInstanceProfileInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DisassociateIamInstanceProfileOutput, SdkError<DisassociateIamInstanceProfileError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DisassociateIamInstanceProfileOutput, SdkError<DisassociateIamInstanceProfileError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DisassociateIamInstanceProfileInputBuilder
impl Clone for DisassociateIamInstanceProfileInputBuilder
source§fn clone(&self) -> DisassociateIamInstanceProfileInputBuilder
fn clone(&self) -> DisassociateIamInstanceProfileInputBuilder
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 DisassociateIamInstanceProfileInputBuilder
impl Default for DisassociateIamInstanceProfileInputBuilder
source§fn default() -> DisassociateIamInstanceProfileInputBuilder
fn default() -> DisassociateIamInstanceProfileInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DisassociateIamInstanceProfileInputBuilder
impl PartialEq for DisassociateIamInstanceProfileInputBuilder
source§fn eq(&self, other: &DisassociateIamInstanceProfileInputBuilder) -> bool
fn eq(&self, other: &DisassociateIamInstanceProfileInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DisassociateIamInstanceProfileInputBuilder
Auto Trait Implementations§
impl Freeze for DisassociateIamInstanceProfileInputBuilder
impl RefUnwindSafe for DisassociateIamInstanceProfileInputBuilder
impl Send for DisassociateIamInstanceProfileInputBuilder
impl Sync for DisassociateIamInstanceProfileInputBuilder
impl Unpin for DisassociateIamInstanceProfileInputBuilder
impl UnwindSafe for DisassociateIamInstanceProfileInputBuilder
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
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>
Creates a shared type from an unshared type.