Struct aws_sdk_ec2::model::iam_instance_profile::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for IamInstanceProfile
.
Implementations§
source§impl Builder
impl Builder
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
.