Interface StartImportFileTaskRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartImportFileTaskRequest.Builder,StartImportFileTaskRequest>,MigrationHubStrategyRequest.Builder,SdkBuilder<StartImportFileTaskRequest.Builder,StartImportFileTaskRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartImportFileTaskRequest
public static interface StartImportFileTaskRequest.Builder extends MigrationHubStrategyRequest.Builder, SdkPojo, CopyableBuilder<StartImportFileTaskRequest.Builder,StartImportFileTaskRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartImportFileTaskRequest.BuilderdataSourceType(String dataSourceType)Specifies the source that the servers are coming from.StartImportFileTaskRequest.BuilderdataSourceType(DataSourceType dataSourceType)Specifies the source that the servers are coming from.StartImportFileTaskRequest.BuildergroupId(Collection<Group> groupId)Groups the resources in the import file together with a unique name.StartImportFileTaskRequest.BuildergroupId(Consumer<Group.Builder>... groupId)Groups the resources in the import file together with a unique name.StartImportFileTaskRequest.BuildergroupId(Group... groupId)Groups the resources in the import file together with a unique name.StartImportFileTaskRequest.Buildername(String name)A descriptive name for the request.StartImportFileTaskRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartImportFileTaskRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartImportFileTaskRequest.Builders3Bucket(String s3Bucket)The S3 bucket where the import file is located.StartImportFileTaskRequest.Builders3bucketForReportData(String s3bucketForReportData)The S3 bucket where Strategy Recommendations uploads import results.StartImportFileTaskRequest.Builders3key(String s3key)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 Detail
-
s3Bucket
StartImportFileTaskRequest.Builder s3Bucket(String 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
StartImportFileTaskRequest.Builder dataSourceType(String 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,DataSourceType
-
dataSourceType
StartImportFileTaskRequest.Builder dataSourceType(DataSourceType 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,DataSourceType
-
groupId
StartImportFileTaskRequest.Builder groupId(Collection<Group> groupId)
Groups the resources in the import file together with a unique name. This ID can be as filter in
ListApplicationComponentsandListServers.- Parameters:
groupId- Groups the resources in the import file together with a unique name. This ID can be as filter inListApplicationComponentsandListServers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupId
StartImportFileTaskRequest.Builder groupId(Group... groupId)
Groups the resources in the import file together with a unique name. This ID can be as filter in
ListApplicationComponentsandListServers.- Parameters:
groupId- Groups the resources in the import file together with a unique name. This ID can be as filter inListApplicationComponentsandListServers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupId
StartImportFileTaskRequest.Builder groupId(Consumer<Group.Builder>... 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 theListApplicationComponentsandListServers.Group.Builderavoiding the need to create one manually viaGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#groupId(List.) - 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:
#groupId(java.util.Collection)
-
name
StartImportFileTaskRequest.Builder name(String 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
StartImportFileTaskRequest.Builder s3bucketForReportData(String 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
StartImportFileTaskRequest.Builder s3key(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartImportFileTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-