Struct aws_sdk_ssoadmin::operation::create_application_assignment::builders::CreateApplicationAssignmentInputBuilder
source · #[non_exhaustive]pub struct CreateApplicationAssignmentInputBuilder { /* private fields */ }
Expand description
A builder for CreateApplicationAssignmentInput
.
Implementations§
source§impl CreateApplicationAssignmentInputBuilder
impl CreateApplicationAssignmentInputBuilder
sourcepub fn application_arn(self, input: impl Into<String>) -> Self
pub fn application_arn(self, input: impl Into<String>) -> Self
The ARN of the application provider under which the operation will run.
This field is required.sourcepub fn set_application_arn(self, input: Option<String>) -> Self
pub fn set_application_arn(self, input: Option<String>) -> Self
The ARN of the application provider under which the operation will run.
sourcepub fn get_application_arn(&self) -> &Option<String>
pub fn get_application_arn(&self) -> &Option<String>
The ARN of the application provider under which the operation will run.
sourcepub fn principal_id(self, input: impl Into<String>) -> Self
pub fn principal_id(self, input: impl Into<String>) -> Self
An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
This field is required.sourcepub fn set_principal_id(self, input: Option<String>) -> Self
pub fn set_principal_id(self, input: Option<String>) -> Self
An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
sourcepub fn get_principal_id(&self) -> &Option<String>
pub fn get_principal_id(&self) -> &Option<String>
An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
sourcepub fn principal_type(self, input: PrincipalType) -> Self
pub fn principal_type(self, input: PrincipalType) -> Self
The entity type for which the assignment will be created.
This field is required.sourcepub fn set_principal_type(self, input: Option<PrincipalType>) -> Self
pub fn set_principal_type(self, input: Option<PrincipalType>) -> Self
The entity type for which the assignment will be created.
sourcepub fn get_principal_type(&self) -> &Option<PrincipalType>
pub fn get_principal_type(&self) -> &Option<PrincipalType>
The entity type for which the assignment will be created.
sourcepub fn build(self) -> Result<CreateApplicationAssignmentInput, BuildError>
pub fn build(self) -> Result<CreateApplicationAssignmentInput, BuildError>
Consumes the builder and constructs a CreateApplicationAssignmentInput
.
source§impl CreateApplicationAssignmentInputBuilder
impl CreateApplicationAssignmentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateApplicationAssignmentOutput, SdkError<CreateApplicationAssignmentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateApplicationAssignmentOutput, SdkError<CreateApplicationAssignmentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateApplicationAssignmentInputBuilder
impl Clone for CreateApplicationAssignmentInputBuilder
source§fn clone(&self) -> CreateApplicationAssignmentInputBuilder
fn clone(&self) -> CreateApplicationAssignmentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateApplicationAssignmentInputBuilder
impl Default for CreateApplicationAssignmentInputBuilder
source§fn default() -> CreateApplicationAssignmentInputBuilder
fn default() -> CreateApplicationAssignmentInputBuilder
source§impl PartialEq for CreateApplicationAssignmentInputBuilder
impl PartialEq for CreateApplicationAssignmentInputBuilder
source§fn eq(&self, other: &CreateApplicationAssignmentInputBuilder) -> bool
fn eq(&self, other: &CreateApplicationAssignmentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateApplicationAssignmentInputBuilder
Auto Trait Implementations§
impl Freeze for CreateApplicationAssignmentInputBuilder
impl RefUnwindSafe for CreateApplicationAssignmentInputBuilder
impl Send for CreateApplicationAssignmentInputBuilder
impl Sync for CreateApplicationAssignmentInputBuilder
impl Unpin for CreateApplicationAssignmentInputBuilder
impl UnwindSafe for CreateApplicationAssignmentInputBuilder
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