Struct aws_sdk_migrationhubstrategy::operation::start_import_file_task::StartImportFileTaskInput
source · #[non_exhaustive]pub struct StartImportFileTaskInput {
pub name: Option<String>,
pub s3_bucket: Option<String>,
pub s3_key: Option<String>,
pub data_source_type: Option<DataSourceType>,
pub group_id: Option<Vec<Group>>,
pub s3bucket_for_report_data: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>A descriptive name for the request.
s3_bucket: Option<String>The S3 bucket where the import file is located. The bucket name is required to begin with migrationhub-strategy-.
s3_key: Option<String>The Amazon S3 key name of the import file.
data_source_type: Option<DataSourceType>Specifies the source that the servers are coming from. By default, Strategy Recommendations assumes that the servers specified in the import file are available in AWS Application Discovery Service.
group_id: Option<Vec<Group>>Groups the resources in the import file together with a unique name. This ID can be as filter in ListApplicationComponents and ListServers.
s3bucket_for_report_data: Option<String>The S3 bucket where Strategy Recommendations uploads import results. The bucket name is required to begin with migrationhub-strategy-.
Implementations§
source§impl StartImportFileTaskInput
impl StartImportFileTaskInput
sourcepub fn s3_bucket(&self) -> Option<&str>
pub fn s3_bucket(&self) -> Option<&str>
The S3 bucket where the import file is located. The bucket name is required to begin with migrationhub-strategy-.
sourcepub fn data_source_type(&self) -> Option<&DataSourceType>
pub fn data_source_type(&self) -> Option<&DataSourceType>
Specifies the source that the servers are coming from. By default, Strategy Recommendations assumes that the servers specified in the import file are available in AWS Application Discovery Service.
sourcepub fn group_id(&self) -> &[Group]
pub fn group_id(&self) -> &[Group]
Groups the resources in the import file together with a unique name. This ID can be as filter in ListApplicationComponents and ListServers.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .group_id.is_none().
sourcepub fn s3bucket_for_report_data(&self) -> Option<&str>
pub fn s3bucket_for_report_data(&self) -> Option<&str>
The S3 bucket where Strategy Recommendations uploads import results. The bucket name is required to begin with migrationhub-strategy-.
source§impl StartImportFileTaskInput
impl StartImportFileTaskInput
sourcepub fn builder() -> StartImportFileTaskInputBuilder
pub fn builder() -> StartImportFileTaskInputBuilder
Creates a new builder-style object to manufacture StartImportFileTaskInput.
Trait Implementations§
source§impl Clone for StartImportFileTaskInput
impl Clone for StartImportFileTaskInput
source§fn clone(&self) -> StartImportFileTaskInput
fn clone(&self) -> StartImportFileTaskInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StartImportFileTaskInput
impl Debug for StartImportFileTaskInput
source§impl PartialEq for StartImportFileTaskInput
impl PartialEq for StartImportFileTaskInput
source§fn eq(&self, other: &StartImportFileTaskInput) -> bool
fn eq(&self, other: &StartImportFileTaskInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StartImportFileTaskInput
Auto Trait Implementations§
impl Freeze for StartImportFileTaskInput
impl RefUnwindSafe for StartImportFileTaskInput
impl Send for StartImportFileTaskInput
impl Sync for StartImportFileTaskInput
impl Unpin for StartImportFileTaskInput
impl UnwindSafe for StartImportFileTaskInput
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