#[non_exhaustive]pub struct AddRoleToInstanceProfileInput {
pub instance_profile_name: Option<String>,
pub role_name: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_profile_name: Option<String>
The name of the instance profile to update.
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: _+=,.@-
role_name: Option<String>
The name of the role to add.
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: _+=,.@-
Implementations§
source§impl AddRoleToInstanceProfileInput
impl AddRoleToInstanceProfileInput
sourcepub fn instance_profile_name(&self) -> Option<&str>
pub fn instance_profile_name(&self) -> Option<&str>
The name of the instance profile to update.
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 role_name(&self) -> Option<&str>
pub fn role_name(&self) -> Option<&str>
The name of the role to add.
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: _+=,.@-
source§impl AddRoleToInstanceProfileInput
impl AddRoleToInstanceProfileInput
sourcepub fn builder() -> AddRoleToInstanceProfileInputBuilder
pub fn builder() -> AddRoleToInstanceProfileInputBuilder
Creates a new builder-style object to manufacture AddRoleToInstanceProfileInput
.
Trait Implementations§
source§impl Clone for AddRoleToInstanceProfileInput
impl Clone for AddRoleToInstanceProfileInput
source§fn clone(&self) -> AddRoleToInstanceProfileInput
fn clone(&self) -> AddRoleToInstanceProfileInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AddRoleToInstanceProfileInput
impl PartialEq for AddRoleToInstanceProfileInput
source§fn eq(&self, other: &AddRoleToInstanceProfileInput) -> bool
fn eq(&self, other: &AddRoleToInstanceProfileInput) -> bool
self
and other
values to be equal, and is used
by ==
.