Package com.oracle.bmc.jms.model
Class JavaMigrationAnalysisTarget.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.model.JavaMigrationAnalysisTarget.Builder
-
- Enclosing class:
- JavaMigrationAnalysisTarget
public static class JavaMigrationAnalysisTarget.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaMigrationAnalysisTarget.BuilderapplicationInstallationKey(String applicationInstallationKey)The unique key that identifies the application’s installation path that is to be used for the Java migration analysis.JavaMigrationAnalysisTargetbuild()JavaMigrationAnalysisTarget.Buildercopy(JavaMigrationAnalysisTarget model)JavaMigrationAnalysisTarget.BuilderexcludePackagePrefixes(List<String> excludePackagePrefixes)Excludes the packages that starts with the prefix from the migration analysis result.JavaMigrationAnalysisTarget.BuilderincludePackagePrefixes(List<String> includePackagePrefixes)includes the packages that starts with the prefix from the migration analysis result.JavaMigrationAnalysisTarget.BuildermanagedInstanceId(String managedInstanceId)The OCID of the managed instance that hosts the application for which the Java migration analysis was performed.JavaMigrationAnalysisTarget.BuildersourceJdkVersion(String sourceJdkVersion)The JDK version the application is currently running on.JavaMigrationAnalysisTarget.BuildertargetJdkVersion(String targetJdkVersion)The JDK version against which the migration analysis was performed to identify effort required to move from source JDK.
-
-
-
Method Detail
-
managedInstanceId
public JavaMigrationAnalysisTarget.Builder managedInstanceId(String managedInstanceId)
The OCID of the managed instance that hosts the application for which the Java migration analysis was performed.- Parameters:
managedInstanceId- the value to set- Returns:
- this builder
-
applicationInstallationKey
public JavaMigrationAnalysisTarget.Builder applicationInstallationKey(String applicationInstallationKey)
The unique key that identifies the application’s installation path that is to be used for the Java migration analysis.- Parameters:
applicationInstallationKey- the value to set- Returns:
- this builder
-
sourceJdkVersion
public JavaMigrationAnalysisTarget.Builder sourceJdkVersion(String sourceJdkVersion)
The JDK version the application is currently running on.- Parameters:
sourceJdkVersion- the value to set- Returns:
- this builder
-
targetJdkVersion
public JavaMigrationAnalysisTarget.Builder targetJdkVersion(String targetJdkVersion)
The JDK version against which the migration analysis was performed to identify effort required to move from source JDK.- Parameters:
targetJdkVersion- the value to set- Returns:
- this builder
-
excludePackagePrefixes
public JavaMigrationAnalysisTarget.Builder excludePackagePrefixes(List<String> excludePackagePrefixes)
Excludes the packages that starts with the prefix from the migration analysis result.Either this or includePackagePrefixes can be specified.
- Parameters:
excludePackagePrefixes- the value to set- Returns:
- this builder
-
includePackagePrefixes
public JavaMigrationAnalysisTarget.Builder includePackagePrefixes(List<String> includePackagePrefixes)
includes the packages that starts with the prefix from the migration analysis result.Either this or excludePackagePrefixes can be specified.
- Parameters:
includePackagePrefixes- the value to set- Returns:
- this builder
-
build
public JavaMigrationAnalysisTarget build()
-
copy
public JavaMigrationAnalysisTarget.Builder copy(JavaMigrationAnalysisTarget model)
-
-