Struct aws_sdk_ssoadmin::operation::create_permission_set::builders::CreatePermissionSetInputBuilder
source · #[non_exhaustive]pub struct CreatePermissionSetInputBuilder { /* private fields */ }
Expand description
A builder for CreatePermissionSetInput
.
Implementations§
source§impl CreatePermissionSetInputBuilder
impl CreatePermissionSetInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the PermissionSet
.
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 instance_arn(self, input: impl Into<String>) -> Self
pub fn instance_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
This field is required.sourcepub fn set_instance_arn(self, input: Option<String>) -> Self
pub fn set_instance_arn(self, input: Option<String>) -> Self
The ARN of the IAM Identity Center instance under which the operation will be executed. 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_instance_arn(&self) -> &Option<String>
pub fn get_instance_arn(&self) -> &Option<String>
The ARN of the IAM Identity Center instance under which the operation will be executed. 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 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 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 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 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.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags to attach to the new PermissionSet
.
The tags to attach to the new PermissionSet
.
The tags to attach to the new PermissionSet
.
sourcepub fn build(self) -> Result<CreatePermissionSetInput, BuildError>
pub fn build(self) -> Result<CreatePermissionSetInput, BuildError>
Consumes the builder and constructs a CreatePermissionSetInput
.
source§impl CreatePermissionSetInputBuilder
impl CreatePermissionSetInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreatePermissionSetOutput, SdkError<CreatePermissionSetError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreatePermissionSetOutput, SdkError<CreatePermissionSetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreatePermissionSetInputBuilder
impl Clone for CreatePermissionSetInputBuilder
source§fn clone(&self) -> CreatePermissionSetInputBuilder
fn clone(&self) -> CreatePermissionSetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreatePermissionSetInputBuilder
impl Default for CreatePermissionSetInputBuilder
source§fn default() -> CreatePermissionSetInputBuilder
fn default() -> CreatePermissionSetInputBuilder
source§impl PartialEq for CreatePermissionSetInputBuilder
impl PartialEq for CreatePermissionSetInputBuilder
source§fn eq(&self, other: &CreatePermissionSetInputBuilder) -> bool
fn eq(&self, other: &CreatePermissionSetInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreatePermissionSetInputBuilder
Auto Trait Implementations§
impl Freeze for CreatePermissionSetInputBuilder
impl RefUnwindSafe for CreatePermissionSetInputBuilder
impl Send for CreatePermissionSetInputBuilder
impl Sync for CreatePermissionSetInputBuilder
impl Unpin for CreatePermissionSetInputBuilder
impl UnwindSafe for CreatePermissionSetInputBuilder
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