Interface AssociateSourceResourceRequest.Builder

  • Method Details

    • 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

      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

      The source resource that you want to associate.

      This is a convenience method that creates an instance of the SourceResource.Builder avoiding the need to create one manually via SourceResource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sourceResource(SourceResource).

      Parameters:
      sourceResource - a consumer that will call methods on SourceResource.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 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.
      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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.