Interface StartImportTaskRequest.Builder
-
- All Superinterfaces:
ApplicationDiscoveryRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<StartImportTaskRequest.Builder,StartImportTaskRequest>,SdkBuilder<StartImportTaskRequest.Builder,StartImportTaskRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartImportTaskRequest
public static interface StartImportTaskRequest.Builder extends ApplicationDiscoveryRequest.Builder, SdkPojo, CopyableBuilder<StartImportTaskRequest.Builder,StartImportTaskRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartImportTaskRequest.BuilderclientRequestToken(String clientRequestToken)Optional.StartImportTaskRequest.BuilderimportUrl(String importUrl)The URL for your import file that you've uploaded to Amazon S3.StartImportTaskRequest.Buildername(String name)A descriptive name for this request.StartImportTaskRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartImportTaskRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.services.applicationdiscovery.model.ApplicationDiscoveryRequest.Builder
build
-
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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
clientRequestToken
StartImportTaskRequest.Builder clientRequestToken(String clientRequestToken)
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
StartImportTaskrequest with the same client request token will return information about the original import task with that client request token.- Parameters:
clientRequestToken- 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
StartImportTaskrequest with the same client request token will return information about the original import task with that client request token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
StartImportTaskRequest.Builder name(String name)
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.
- Parameters:
name- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importUrl
StartImportTaskRequest.Builder importUrl(String importUrl)
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- Parameters:
importUrl- 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- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartImportTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartImportTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-