Struct aws_sdk_opsworks::operation::grant_access::GrantAccessInput
source · #[non_exhaustive]pub struct GrantAccessInput {
pub instance_id: Option<String>,
pub valid_for_in_minutes: Option<i32>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_id: Option<String>
The instance's OpsWorks Stacks ID.
valid_for_in_minutes: Option<i32>
The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, they are logged out.
Implementations§
source§impl GrantAccessInput
impl GrantAccessInput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The instance's OpsWorks Stacks ID.
sourcepub fn valid_for_in_minutes(&self) -> Option<i32>
pub fn valid_for_in_minutes(&self) -> Option<i32>
The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, they are logged out.
source§impl GrantAccessInput
impl GrantAccessInput
sourcepub fn builder() -> GrantAccessInputBuilder
pub fn builder() -> GrantAccessInputBuilder
Creates a new builder-style object to manufacture GrantAccessInput
.
Trait Implementations§
source§impl Clone for GrantAccessInput
impl Clone for GrantAccessInput
source§fn clone(&self) -> GrantAccessInput
fn clone(&self) -> GrantAccessInput
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 GrantAccessInput
impl Debug for GrantAccessInput
source§impl PartialEq for GrantAccessInput
impl PartialEq for GrantAccessInput
source§fn eq(&self, other: &GrantAccessInput) -> bool
fn eq(&self, other: &GrantAccessInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GrantAccessInput
Auto Trait Implementations§
impl Freeze for GrantAccessInput
impl RefUnwindSafe for GrantAccessInput
impl Send for GrantAccessInput
impl Sync for GrantAccessInput
impl Unpin for GrantAccessInput
impl UnwindSafe for GrantAccessInput
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.