#[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 ==.impl StructuralPartialEq for AddRoleToInstanceProfileInput
Auto Trait Implementations§
impl Freeze for AddRoleToInstanceProfileInput
impl RefUnwindSafe for AddRoleToInstanceProfileInput
impl Send for AddRoleToInstanceProfileInput
impl Sync for AddRoleToInstanceProfileInput
impl Unpin for AddRoleToInstanceProfileInput
impl UnwindSafe for AddRoleToInstanceProfileInput
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more