Interface StartImportFileTaskRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartImportFileTaskRequest.Builder,
,StartImportFileTaskRequest> MigrationHubStrategyRequest.Builder
,SdkBuilder<StartImportFileTaskRequest.Builder,
,StartImportFileTaskRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartImportFileTaskRequest
-
Method Summary
Modifier and TypeMethodDescriptiondataSourceType
(String dataSourceType) Specifies the source that the servers are coming from.dataSourceType
(DataSourceType dataSourceType) Specifies the source that the servers are coming from.groupId
(Collection<Group> groupId) Groups the resources in the import file together with a unique name.groupId
(Consumer<Group.Builder>... groupId) Groups the resources in the import file together with a unique name.Groups the resources in the import file together with a unique name.A descriptive name for the request.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The S3 bucket where the import file is located.s3bucketForReportData
(String s3bucketForReportData) The S3 bucket where Strategy Recommendations uploads import results.The Amazon S3 key name of the import file.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.migrationhubstrategy.model.MigrationHubStrategyRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
s3Bucket
The S3 bucket where the import file is located. The bucket name is required to begin with
migrationhub-strategy-
.- Parameters:
s3Bucket
- The S3 bucket where the import file is located. The bucket name is required to begin withmigrationhub-strategy-
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupId
Groups the resources in the import file together with a unique name. This ID can be as filter in
ListApplicationComponents
andListServers
.- Parameters:
groupId
- Groups the resources in the import file together with a unique name. This ID can be as filter inListApplicationComponents
andListServers
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupId
Groups the resources in the import file together with a unique name. This ID can be as filter in
ListApplicationComponents
andListServers
.- Parameters:
groupId
- Groups the resources in the import file together with a unique name. This ID can be as filter inListApplicationComponents
andListServers
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupId
Groups the resources in the import file together with a unique name. This ID can be as filter in
This is a convenience method that creates an instance of theListApplicationComponents
andListServers
.Group.Builder
avoiding the need to create one manually viaGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroupId(List<Group>)
.- Parameters:
groupId
- a consumer that will call methods onGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
A descriptive name for the request.
- Parameters:
name
- A descriptive name for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3bucketForReportData
The S3 bucket where Strategy Recommendations uploads import results. The bucket name is required to begin with migrationhub-strategy-.
- Parameters:
s3bucketForReportData
- The S3 bucket where Strategy Recommendations uploads import results. The bucket name is required to begin with migrationhub-strategy-.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3key
The Amazon S3 key name of the import file.
- Parameters:
s3key
- The Amazon S3 key name of the import file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartImportFileTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartImportFileTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-