Struct aws_sdk_ec2::types::builders::IamInstanceProfileBuilder   
source · #[non_exhaustive]pub struct IamInstanceProfileBuilder { /* private fields */ }Expand description
A builder for IamInstanceProfile.
Implementations§
source§impl IamInstanceProfileBuilder
 
impl IamInstanceProfileBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
 
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the instance profile.
sourcepub fn set_arn(self, input: Option<String>) -> Self
 
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the instance profile.
sourcepub fn get_arn(&self) -> &Option<String>
 
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the instance profile.
sourcepub fn build(self) -> IamInstanceProfile
 
pub fn build(self) -> IamInstanceProfile
Consumes the builder and constructs a IamInstanceProfile.
Trait Implementations§
source§impl Clone for IamInstanceProfileBuilder
 
impl Clone for IamInstanceProfileBuilder
source§fn clone(&self) -> IamInstanceProfileBuilder
 
fn clone(&self) -> IamInstanceProfileBuilder
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 Debug for IamInstanceProfileBuilder
 
impl Debug for IamInstanceProfileBuilder
source§impl Default for IamInstanceProfileBuilder
 
impl Default for IamInstanceProfileBuilder
source§fn default() -> IamInstanceProfileBuilder
 
fn default() -> IamInstanceProfileBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for IamInstanceProfileBuilder
 
impl PartialEq for IamInstanceProfileBuilder
source§fn eq(&self, other: &IamInstanceProfileBuilder) -> bool
 
fn eq(&self, other: &IamInstanceProfileBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IamInstanceProfileBuilder
Auto Trait Implementations§
impl Freeze for IamInstanceProfileBuilder
impl RefUnwindSafe for IamInstanceProfileBuilder
impl Send for IamInstanceProfileBuilder
impl Sync for IamInstanceProfileBuilder
impl Unpin for IamInstanceProfileBuilder
impl UnwindSafe for IamInstanceProfileBuilder
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.