Struct aws_sdk_ssoadmin::operation::provision_permission_set::builders::ProvisionPermissionSetInputBuilder
source · #[non_exhaustive]pub struct ProvisionPermissionSetInputBuilder { /* private fields */ }
Expand description
A builder for ProvisionPermissionSetInput
.
Implementations§
source§impl ProvisionPermissionSetInputBuilder
impl ProvisionPermissionSetInputBuilder
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 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.
This field is required.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.
sourcepub fn get_permission_set_arn(&self) -> &Option<String>
pub fn get_permission_set_arn(&self) -> &Option<String>
The ARN of the permission set.
sourcepub fn target_id(self, input: impl Into<String>) -> Self
pub fn target_id(self, input: impl Into<String>) -> Self
TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
sourcepub fn set_target_id(self, input: Option<String>) -> Self
pub fn set_target_id(self, input: Option<String>) -> Self
TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
sourcepub fn get_target_id(&self) -> &Option<String>
pub fn get_target_id(&self) -> &Option<String>
TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
sourcepub fn target_type(self, input: ProvisionTargetType) -> Self
pub fn target_type(self, input: ProvisionTargetType) -> Self
The entity type for which the assignment will be created.
This field is required.sourcepub fn set_target_type(self, input: Option<ProvisionTargetType>) -> Self
pub fn set_target_type(self, input: Option<ProvisionTargetType>) -> Self
The entity type for which the assignment will be created.
sourcepub fn get_target_type(&self) -> &Option<ProvisionTargetType>
pub fn get_target_type(&self) -> &Option<ProvisionTargetType>
The entity type for which the assignment will be created.
sourcepub fn build(self) -> Result<ProvisionPermissionSetInput, BuildError>
pub fn build(self) -> Result<ProvisionPermissionSetInput, BuildError>
Consumes the builder and constructs a ProvisionPermissionSetInput
.
source§impl ProvisionPermissionSetInputBuilder
impl ProvisionPermissionSetInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ProvisionPermissionSetOutput, SdkError<ProvisionPermissionSetError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ProvisionPermissionSetOutput, SdkError<ProvisionPermissionSetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ProvisionPermissionSetInputBuilder
impl Clone for ProvisionPermissionSetInputBuilder
source§fn clone(&self) -> ProvisionPermissionSetInputBuilder
fn clone(&self) -> ProvisionPermissionSetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ProvisionPermissionSetInputBuilder
impl Default for ProvisionPermissionSetInputBuilder
source§fn default() -> ProvisionPermissionSetInputBuilder
fn default() -> ProvisionPermissionSetInputBuilder
source§impl PartialEq for ProvisionPermissionSetInputBuilder
impl PartialEq for ProvisionPermissionSetInputBuilder
source§fn eq(&self, other: &ProvisionPermissionSetInputBuilder) -> bool
fn eq(&self, other: &ProvisionPermissionSetInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProvisionPermissionSetInputBuilder
Auto Trait Implementations§
impl Freeze for ProvisionPermissionSetInputBuilder
impl RefUnwindSafe for ProvisionPermissionSetInputBuilder
impl Send for ProvisionPermissionSetInputBuilder
impl Sync for ProvisionPermissionSetInputBuilder
impl Unpin for ProvisionPermissionSetInputBuilder
impl UnwindSafe for ProvisionPermissionSetInputBuilder
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