Class JavaMigrationAnalysis.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • analysisProjectName

        public JavaMigrationAnalysis.Builder analysisProjectName​(String analysisProjectName)
        Name of the analysis project.
        Parameters:
        analysisProjectName - the value to set
        Returns:
        this builder
      • inputApplicationsObjectStoragePaths

        public JavaMigrationAnalysis.Builder inputApplicationsObjectStoragePaths​(List<String> inputApplicationsObjectStoragePaths)
        Object storage paths to the input files applications to be analysed.
        Parameters:
        inputApplicationsObjectStoragePaths - the value to set
        Returns:
        this builder
      • targetJdkVersion

        public JavaMigrationAnalysis.Builder targetJdkVersion​(String targetJdkVersion)
        Jdk Version of the Java Migration Analysis target.
        Parameters:
        targetJdkVersion - the value to set
        Returns:
        this builder
      • namespaceName

        public JavaMigrationAnalysis.Builder namespaceName​(String namespaceName)
        Object storage namespace.
        Parameters:
        namespaceName - the value to set
        Returns:
        this builder
      • bucketName

        public JavaMigrationAnalysis.Builder bucketName​(String bucketName)
        Object storage bucket name.
        Parameters:
        bucketName - the value to set
        Returns:
        this builder
      • analysisResultObjectStoragePath

        public JavaMigrationAnalysis.Builder analysisResultObjectStoragePath​(String analysisResultObjectStoragePath)
        Path to the Object Storage analysis application result.
        Parameters:
        analysisResultObjectStoragePath - the value to set
        Returns:
        this builder
      • analysisResultFiles

        public JavaMigrationAnalysis.Builder analysisResultFiles​(List<String> analysisResultFiles)
        The analysis application file names result in the Object Storage.
        Parameters:
        analysisResultFiles - the value to set
        Returns:
        this builder
      • timeCreated

        public JavaMigrationAnalysis.Builder timeCreated​(Date timeCreated)
        The date and time the Java Migration Analysis was created, in the format defined by RFC 3339.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeStarted

        public JavaMigrationAnalysis.Builder timeStarted​(Date timeStarted)
        The date and time the Java Migration Analysis was started, in the format defined by RFC 3339.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeStarted - the value to set
        Returns:
        this builder
      • timeFinished

        public JavaMigrationAnalysis.Builder timeFinished​(Date timeFinished)
        The date and time the Java Migration Analysis was finished, in the format defined by RFC 3339.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeFinished - the value to set
        Returns:
        this builder
      • metadata

        public JavaMigrationAnalysis.Builder metadata​(String metadata)
        Additional info reserved for future use.
        Parameters:
        metadata - the value to set
        Returns:
        this builder