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 AWS Service Namespaces in the AWS 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 AWS Service Namespaces in the AWS 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 AWS Service Namespaces in the AWS 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<PermissionSetBuilder> for PermissionSetBuilder
impl PartialEq<PermissionSetBuilder> 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 ==
.