Struct aws_sdk_applicationdiscovery::operation::start_import_task::builders::StartImportTaskInputBuilder
source · #[non_exhaustive]pub struct StartImportTaskInputBuilder { /* private fields */ }Expand description
A builder for StartImportTaskInput.
Implementations§
source§impl StartImportTaskInputBuilder
impl StartImportTaskInputBuilder
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
Optional. A unique token that you can provide to prevent the same import request from occurring more than once. If you don't provide a token, a token is automatically generated.
Sending more than one StartImportTask request with the same client request token will return information about the original import task with that client request token.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
Optional. A unique token that you can provide to prevent the same import request from occurring more than once. If you don't provide a token, a token is automatically generated.
Sending more than one StartImportTask request with the same client request token will return information about the original import task with that client request token.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
Optional. A unique token that you can provide to prevent the same import request from occurring more than once. If you don't provide a token, a token is automatically generated.
Sending more than one StartImportTask request with the same client request token will return information about the original import task with that client request token.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A descriptive name for this request. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A descriptive name for this request. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
A descriptive name for this request. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task.
sourcepub fn import_url(self, input: impl Into<String>) -> Self
pub fn import_url(self, input: impl Into<String>) -> Self
The URL for your import file that you've uploaded to Amazon S3.
If you're using the Amazon Web Services CLI, this URL is structured as follows: s3://BucketName/ImportFileName.CSV
sourcepub fn set_import_url(self, input: Option<String>) -> Self
pub fn set_import_url(self, input: Option<String>) -> Self
The URL for your import file that you've uploaded to Amazon S3.
If you're using the Amazon Web Services CLI, this URL is structured as follows: s3://BucketName/ImportFileName.CSV
sourcepub fn get_import_url(&self) -> &Option<String>
pub fn get_import_url(&self) -> &Option<String>
The URL for your import file that you've uploaded to Amazon S3.
If you're using the Amazon Web Services CLI, this URL is structured as follows: s3://BucketName/ImportFileName.CSV
sourcepub fn build(self) -> Result<StartImportTaskInput, BuildError>
pub fn build(self) -> Result<StartImportTaskInput, BuildError>
Consumes the builder and constructs a StartImportTaskInput.
source§impl StartImportTaskInputBuilder
impl StartImportTaskInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartImportTaskOutput, SdkError<StartImportTaskError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartImportTaskOutput, SdkError<StartImportTaskError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartImportTaskInputBuilder
impl Clone for StartImportTaskInputBuilder
source§fn clone(&self) -> StartImportTaskInputBuilder
fn clone(&self) -> StartImportTaskInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StartImportTaskInputBuilder
impl Debug for StartImportTaskInputBuilder
source§impl Default for StartImportTaskInputBuilder
impl Default for StartImportTaskInputBuilder
source§fn default() -> StartImportTaskInputBuilder
fn default() -> StartImportTaskInputBuilder
source§impl PartialEq for StartImportTaskInputBuilder
impl PartialEq for StartImportTaskInputBuilder
source§fn eq(&self, other: &StartImportTaskInputBuilder) -> bool
fn eq(&self, other: &StartImportTaskInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StartImportTaskInputBuilder
Auto Trait Implementations§
impl Freeze for StartImportTaskInputBuilder
impl RefUnwindSafe for StartImportTaskInputBuilder
impl Send for StartImportTaskInputBuilder
impl Sync for StartImportTaskInputBuilder
impl Unpin for StartImportTaskInputBuilder
impl UnwindSafe for StartImportTaskInputBuilder
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