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 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<IamInstanceProfileBuilder> for IamInstanceProfileBuilder
impl PartialEq<IamInstanceProfileBuilder> 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 ==.