Struct aws_sdk_ssoadmin::types::builders::PermissionSetBuilder
source · #[non_exhaustive]pub struct PermissionSetBuilder { /* private fields */ }
Expand description
A builder for PermissionSet
.
Implementations§
source§impl PermissionSetBuilder
impl PermissionSetBuilder
sourcepub fn permission_set_arn(self, input: impl Into<String>) -> Self
pub fn permission_set_arn(self, input: impl Into<String>) -> Self
The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
sourcepub fn set_permission_set_arn(self, input: Option<String>) -> Self
pub fn set_permission_set_arn(self, input: Option<String>) -> Self
The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
sourcepub fn get_permission_set_arn(&self) -> &Option<String>
pub fn get_permission_set_arn(&self) -> &Option<String>
The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the PermissionSet
.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the PermissionSet
.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the PermissionSet
.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The date that the permission set was created.
sourcepub fn set_created_date(self, input: Option<DateTime>) -> Self
pub fn set_created_date(self, input: Option<DateTime>) -> Self
The date that the permission set was created.
sourcepub fn get_created_date(&self) -> &Option<DateTime>
pub fn get_created_date(&self) -> &Option<DateTime>
The date that the permission set was created.
sourcepub fn session_duration(self, input: impl Into<String>) -> Self
pub fn session_duration(self, input: impl Into<String>) -> Self
The length of time that the application user sessions are valid for in the ISO-8601 standard.
sourcepub fn set_session_duration(self, input: Option<String>) -> Self
pub fn set_session_duration(self, input: Option<String>) -> Self
The length of time that the application user sessions are valid for in the ISO-8601 standard.
sourcepub fn get_session_duration(&self) -> &Option<String>
pub fn get_session_duration(&self) -> &Option<String>
The length of time that the application user sessions are valid for in the ISO-8601 standard.
sourcepub fn relay_state(self, input: impl Into<String>) -> Self
pub fn relay_state(self, input: impl Into<String>) -> Self
Used to redirect users within the application during the federation authentication process.
sourcepub fn set_relay_state(self, input: Option<String>) -> Self
pub fn set_relay_state(self, input: Option<String>) -> Self
Used to redirect users within the application during the federation authentication process.
sourcepub fn get_relay_state(&self) -> &Option<String>
pub fn get_relay_state(&self) -> &Option<String>
Used to redirect users within the application during the federation authentication process.
sourcepub fn build(self) -> PermissionSet
pub fn build(self) -> PermissionSet
Consumes the builder and constructs a PermissionSet
.
Trait Implementations§
source§impl Clone for PermissionSetBuilder
impl Clone for PermissionSetBuilder
source§fn clone(&self) -> PermissionSetBuilder
fn clone(&self) -> PermissionSetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PermissionSetBuilder
impl Debug for PermissionSetBuilder
source§impl Default for PermissionSetBuilder
impl Default for PermissionSetBuilder
source§fn default() -> PermissionSetBuilder
fn default() -> PermissionSetBuilder
source§impl PartialEq for PermissionSetBuilder
impl PartialEq for PermissionSetBuilder
source§fn eq(&self, other: &PermissionSetBuilder) -> bool
fn eq(&self, other: &PermissionSetBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PermissionSetBuilder
Auto Trait Implementations§
impl Freeze for PermissionSetBuilder
impl RefUnwindSafe for PermissionSetBuilder
impl Send for PermissionSetBuilder
impl Sync for PermissionSetBuilder
impl Unpin for PermissionSetBuilder
impl UnwindSafe for PermissionSetBuilder
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