Interface AssociateSourceResourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociateSourceResourceRequest.Builder,
,AssociateSourceResourceRequest> MigrationHubRequest.Builder
,SdkBuilder<AssociateSourceResourceRequest.Builder,
,AssociateSourceResourceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateSourceResourceRequest
-
Method Summary
Modifier and TypeMethodDescriptionThis is an optional parameter that you can use to test whether the call will succeed.migrationTaskName
(String migrationTaskName) A unique identifier that references the migration task.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.progressUpdateStream
(String progressUpdateStream) The name of the progress-update stream, which is used for access control as well as a namespace for migration-task names that is implicitly linked to your AWS account.sourceResource
(Consumer<SourceResource.Builder> sourceResource) The source resource that you want to associate.sourceResource
(SourceResource sourceResource) The source resource that you want to associate.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.migrationhub.model.MigrationHubRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
progressUpdateStream
The name of the progress-update stream, which is used for access control as well as a namespace for migration-task names that is implicitly linked to your AWS account. The progress-update stream must uniquely identify the migration tool as it is used for all updates made by the tool; however, it does not need to be unique for each AWS account because it is scoped to the AWS account.
- Parameters:
progressUpdateStream
- The name of the progress-update stream, which is used for access control as well as a namespace for migration-task names that is implicitly linked to your AWS account. The progress-update stream must uniquely identify the migration tool as it is used for all updates made by the tool; however, it does not need to be unique for each AWS account because it is scoped to the AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationTaskName
A unique identifier that references the migration task. Do not include sensitive data in this field.
- Parameters:
migrationTaskName
- A unique identifier that references the migration task. Do not include sensitive data in this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceResource
The source resource that you want to associate.
- Parameters:
sourceResource
- The source resource that you want to associate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceResource
default AssociateSourceResourceRequest.Builder sourceResource(Consumer<SourceResource.Builder> sourceResource) The source resource that you want to associate.
This is a convenience method that creates an instance of theSourceResource.Builder
avoiding the need to create one manually viaSourceResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceResource(SourceResource)
.- Parameters:
sourceResource
- a consumer that will call methods onSourceResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dryRun
This is an optional parameter that you can use to test whether the call will succeed. Set this parameter to
true
to verify that you have the permissions that are required to make the call, and that you have specified the other parameters in the call correctly.- Parameters:
dryRun
- This is an optional parameter that you can use to test whether the call will succeed. Set this parameter totrue
to verify that you have the permissions that are required to make the call, and that you have specified the other parameters in the call correctly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateSourceResourceRequest.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
AssociateSourceResourceRequest.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.
-