Struct aws_sdk_cognitoidentityprovider::operation::create_user_import_job::builders::CreateUserImportJobInputBuilder
source · #[non_exhaustive]pub struct CreateUserImportJobInputBuilder { /* private fields */ }
Expand description
A builder for CreateUserImportJobInput
.
Implementations§
source§impl CreateUserImportJobInputBuilder
impl CreateUserImportJobInputBuilder
sourcepub fn job_name(self, input: impl Into<String>) -> Self
pub fn job_name(self, input: impl Into<String>) -> Self
The job name for the user import job.
This field is required.sourcepub fn set_job_name(self, input: Option<String>) -> Self
pub fn set_job_name(self, input: Option<String>) -> Self
The job name for the user import job.
sourcepub fn get_job_name(&self) -> &Option<String>
pub fn get_job_name(&self) -> &Option<String>
The job name for the user import job.
sourcepub fn user_pool_id(self, input: impl Into<String>) -> Self
pub fn user_pool_id(self, input: impl Into<String>) -> Self
The user pool ID for the user pool that the users are being imported into.
This field is required.sourcepub fn set_user_pool_id(self, input: Option<String>) -> Self
pub fn set_user_pool_id(self, input: Option<String>) -> Self
The user pool ID for the user pool that the users are being imported into.
sourcepub fn get_user_pool_id(&self) -> &Option<String>
pub fn get_user_pool_id(&self) -> &Option<String>
The user pool ID for the user pool that the users are being imported into.
sourcepub fn cloud_watch_logs_role_arn(self, input: impl Into<String>) -> Self
pub fn cloud_watch_logs_role_arn(self, input: impl Into<String>) -> Self
The role ARN for the Amazon CloudWatch Logs Logging role for the user import job.
This field is required.sourcepub fn set_cloud_watch_logs_role_arn(self, input: Option<String>) -> Self
pub fn set_cloud_watch_logs_role_arn(self, input: Option<String>) -> Self
The role ARN for the Amazon CloudWatch Logs Logging role for the user import job.
sourcepub fn get_cloud_watch_logs_role_arn(&self) -> &Option<String>
pub fn get_cloud_watch_logs_role_arn(&self) -> &Option<String>
The role ARN for the Amazon CloudWatch Logs Logging role for the user import job.
sourcepub fn build(self) -> Result<CreateUserImportJobInput, BuildError>
pub fn build(self) -> Result<CreateUserImportJobInput, BuildError>
Consumes the builder and constructs a CreateUserImportJobInput
.
source§impl CreateUserImportJobInputBuilder
impl CreateUserImportJobInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateUserImportJobOutput, SdkError<CreateUserImportJobError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateUserImportJobOutput, SdkError<CreateUserImportJobError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateUserImportJobInputBuilder
impl Clone for CreateUserImportJobInputBuilder
source§fn clone(&self) -> CreateUserImportJobInputBuilder
fn clone(&self) -> CreateUserImportJobInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CreateUserImportJobInputBuilder
impl Default for CreateUserImportJobInputBuilder
source§fn default() -> CreateUserImportJobInputBuilder
fn default() -> CreateUserImportJobInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateUserImportJobInputBuilder
impl PartialEq for CreateUserImportJobInputBuilder
source§fn eq(&self, other: &CreateUserImportJobInputBuilder) -> bool
fn eq(&self, other: &CreateUserImportJobInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateUserImportJobInputBuilder
Auto Trait Implementations§
impl Freeze for CreateUserImportJobInputBuilder
impl RefUnwindSafe for CreateUserImportJobInputBuilder
impl Send for CreateUserImportJobInputBuilder
impl Sync for CreateUserImportJobInputBuilder
impl Unpin for CreateUserImportJobInputBuilder
impl UnwindSafe for CreateUserImportJobInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.