Struct aws_sdk_iam::input::get_instance_profile_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for GetInstanceProfileInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn instance_profile_name(self, input: impl Into<String>) -> Self
pub fn instance_profile_name(self, input: impl Into<String>) -> Self
The name of the instance profile to get information about.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn set_instance_profile_name(self, input: Option<String>) -> Self
pub fn set_instance_profile_name(self, input: Option<String>) -> Self
The name of the instance profile to get information about.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn build(self) -> Result<GetInstanceProfileInput, BuildError>
pub fn build(self) -> Result<GetInstanceProfileInput, BuildError>
Consumes the builder and constructs a GetInstanceProfileInput.