Class MigrationProjectReference.Builder
java.lang.Object
software.amazon.awscdk.services.dms.MigrationProjectReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MigrationProjectReference>
- Enclosing interface:
MigrationProjectReference
@Stability(Stable)
public static final class MigrationProjectReference.Builder
extends Object
implements software.amazon.jsii.Builder<MigrationProjectReference>
A builder for
MigrationProjectReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.migrationProjectArn
(String migrationProjectArn) Sets the value ofMigrationProjectReference.getMigrationProjectArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
migrationProjectArn
@Stability(Stable) public MigrationProjectReference.Builder migrationProjectArn(String migrationProjectArn) Sets the value ofMigrationProjectReference.getMigrationProjectArn()
- Parameters:
migrationProjectArn
- The MigrationProjectArn of the MigrationProject resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<MigrationProjectReference>
- Returns:
- a new instance of
MigrationProjectReference
- Throws:
NullPointerException
- if any required attribute was not provided
-