Interface AssociateSourceResourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssociateSourceResourceRequest.Builder,AssociateSourceResourceRequest>,MigrationHubRequest.Builder,SdkBuilder<AssociateSourceResourceRequest.Builder,AssociateSourceResourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AssociateSourceResourceRequest
public static interface AssociateSourceResourceRequest.Builder extends MigrationHubRequest.Builder, SdkPojo, CopyableBuilder<AssociateSourceResourceRequest.Builder,AssociateSourceResourceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssociateSourceResourceRequest.BuilderdryRun(Boolean dryRun)This is an optional parameter that you can use to test whether the call will succeed.AssociateSourceResourceRequest.BuildermigrationTaskName(String migrationTaskName)A unique identifier that references the migration task.AssociateSourceResourceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AssociateSourceResourceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)AssociateSourceResourceRequest.BuilderprogressUpdateStream(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.default AssociateSourceResourceRequest.BuildersourceResource(Consumer<SourceResource.Builder> sourceResource)The source resource that you want to associate.AssociateSourceResourceRequest.BuildersourceResource(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 Detail
-
progressUpdateStream
AssociateSourceResourceRequest.Builder 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. 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
AssociateSourceResourceRequest.Builder migrationTaskName(String 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
AssociateSourceResourceRequest.Builder sourceResource(SourceResource 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.Builderavoiding the need to create one manually viaSourceResource.builder().When the
Consumercompletes,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:
sourceResource(SourceResource)
-
dryRun
AssociateSourceResourceRequest.Builder dryRun(Boolean dryRun)
This is an optional parameter that you can use to test whether the call will succeed. Set this parameter to
trueto 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 totrueto 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AssociateSourceResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-