Class HDInsightSparkActivityArgs.Builder

  • Enclosing class:
    HDInsightSparkActivityArgs

    public static final class HDInsightSparkActivityArgs.Builder
    extends java.lang.Object
    • Method Detail

      • arguments

        public HDInsightSparkActivityArgs.Builder arguments​(@Nullable
                                                            com.pulumi.core.Output<java.util.List<java.lang.Object>> arguments)
        Parameters:
        arguments - The user-specified arguments to HDInsightSparkActivity.
        Returns:
        builder
      • arguments

        public HDInsightSparkActivityArgs.Builder arguments​(java.util.List<java.lang.Object> arguments)
        Parameters:
        arguments - The user-specified arguments to HDInsightSparkActivity.
        Returns:
        builder
      • arguments

        public HDInsightSparkActivityArgs.Builder arguments​(java.lang.Object... arguments)
        Parameters:
        arguments - The user-specified arguments to HDInsightSparkActivity.
        Returns:
        builder
      • className

        public HDInsightSparkActivityArgs.Builder className​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> className)
        Parameters:
        className - The application's Java/Spark main class.
        Returns:
        builder
      • className

        public HDInsightSparkActivityArgs.Builder className​(java.lang.String className)
        Parameters:
        className - The application's Java/Spark main class.
        Returns:
        builder
      • description

        public HDInsightSparkActivityArgs.Builder description​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Activity description.
        Returns:
        builder
      • entryFilePath

        public HDInsightSparkActivityArgs.Builder entryFilePath​(com.pulumi.core.Output<java.lang.Object> entryFilePath)
        Parameters:
        entryFilePath - The relative path to the root folder of the code/package to be executed. Type: string (or Expression with resultType string).
        Returns:
        builder
      • entryFilePath

        public HDInsightSparkActivityArgs.Builder entryFilePath​(java.lang.Object entryFilePath)
        Parameters:
        entryFilePath - The relative path to the root folder of the code/package to be executed. Type: string (or Expression with resultType string).
        Returns:
        builder
      • onInactiveMarkAs

        public HDInsightSparkActivityArgs.Builder onInactiveMarkAs​(@Nullable
                                                                   com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​ActivityOnInactiveMarkAs>> onInactiveMarkAs)
        Parameters:
        onInactiveMarkAs - Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
        Returns:
        builder
      • onInactiveMarkAs

        public HDInsightSparkActivityArgs.Builder onInactiveMarkAs​(com.pulumi.core.Either<java.lang.String,​ActivityOnInactiveMarkAs> onInactiveMarkAs)
        Parameters:
        onInactiveMarkAs - Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
        Returns:
        builder
      • onInactiveMarkAs

        public HDInsightSparkActivityArgs.Builder onInactiveMarkAs​(java.lang.String onInactiveMarkAs)
        Parameters:
        onInactiveMarkAs - Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
        Returns:
        builder
      • onInactiveMarkAs

        public HDInsightSparkActivityArgs.Builder onInactiveMarkAs​(ActivityOnInactiveMarkAs onInactiveMarkAs)
        Parameters:
        onInactiveMarkAs - Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
        Returns:
        builder
      • proxyUser

        public HDInsightSparkActivityArgs.Builder proxyUser​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Object> proxyUser)
        Parameters:
        proxyUser - The user to impersonate that will execute the job. Type: string (or Expression with resultType string).
        Returns:
        builder
      • proxyUser

        public HDInsightSparkActivityArgs.Builder proxyUser​(java.lang.Object proxyUser)
        Parameters:
        proxyUser - The user to impersonate that will execute the job. Type: string (or Expression with resultType string).
        Returns:
        builder
      • rootPath

        public HDInsightSparkActivityArgs.Builder rootPath​(com.pulumi.core.Output<java.lang.Object> rootPath)
        Parameters:
        rootPath - The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string).
        Returns:
        builder
      • rootPath

        public HDInsightSparkActivityArgs.Builder rootPath​(java.lang.Object rootPath)
        Parameters:
        rootPath - The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string).
        Returns:
        builder
      • sparkConfig

        public HDInsightSparkActivityArgs.Builder sparkConfig​(@Nullable
                                                              com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> sparkConfig)
        Parameters:
        sparkConfig - Spark configuration property.
        Returns:
        builder
      • sparkConfig

        public HDInsightSparkActivityArgs.Builder sparkConfig​(java.util.Map<java.lang.String,​java.lang.Object> sparkConfig)
        Parameters:
        sparkConfig - Spark configuration property.
        Returns:
        builder
      • sparkJobLinkedService

        public HDInsightSparkActivityArgs.Builder sparkJobLinkedService​(@Nullable
                                                                        com.pulumi.core.Output<LinkedServiceReferenceArgs> sparkJobLinkedService)
        Parameters:
        sparkJobLinkedService - The storage linked service for uploading the entry file and dependencies, and for receiving logs.
        Returns:
        builder
      • state

        public HDInsightSparkActivityArgs.Builder state​(@Nullable
                                                        com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​ActivityState>> state)
        Parameters:
        state - Activity state. This is an optional property and if not provided, the state will be Active by default.
        Returns:
        builder
      • state

        public HDInsightSparkActivityArgs.Builder state​(com.pulumi.core.Either<java.lang.String,​ActivityState> state)
        Parameters:
        state - Activity state. This is an optional property and if not provided, the state will be Active by default.
        Returns:
        builder
      • state

        public HDInsightSparkActivityArgs.Builder state​(java.lang.String state)
        Parameters:
        state - Activity state. This is an optional property and if not provided, the state will be Active by default.
        Returns:
        builder
      • type

        public HDInsightSparkActivityArgs.Builder type​(com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - Type of activity. Expected value is 'HDInsightSpark'.
        Returns:
        builder
      • type

        public HDInsightSparkActivityArgs.Builder type​(java.lang.String type)
        Parameters:
        type - Type of activity. Expected value is 'HDInsightSpark'.
        Returns:
        builder