Class JobArgs.Builder

  • Enclosing class:
    JobArgs

    public static final class JobArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
      • Builder

        public Builder​(JobArgs defaults)
    • Method Detail

      • command

        public JobArgs.Builder command​(com.pulumi.core.Output<JobCommandArgs> command)
        Parameters:
        command - Command of the job. Defined below.
        Returns:
        builder
      • connections

        public JobArgs.Builder connections​(@Nullable
                                           com.pulumi.core.Output<java.util.List<java.lang.String>> connections)
        Parameters:
        connections - List of connections used for this job.
        Returns:
        builder
      • connections

        public JobArgs.Builder connections​(java.util.List<java.lang.String> connections)
        Parameters:
        connections - List of connections used for this job.
        Returns:
        builder
      • connections

        public JobArgs.Builder connections​(java.lang.String... connections)
        Parameters:
        connections - List of connections used for this job.
        Returns:
        builder
      • defaultArguments

        public JobArgs.Builder defaultArguments​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> defaultArguments)
        Parameters:
        defaultArguments - Map of default arguments for this job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the [Calling AWS Glue APIs in Python](http://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html) topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the [Special Parameters Used by AWS Glue](http://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-glue-arguments.html) topic in the developer guide.
        Returns:
        builder
      • defaultArguments

        public JobArgs.Builder defaultArguments​(java.util.Map<java.lang.String,​java.lang.String> defaultArguments)
        Parameters:
        defaultArguments - Map of default arguments for this job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the [Calling AWS Glue APIs in Python](http://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html) topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the [Special Parameters Used by AWS Glue](http://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-glue-arguments.html) topic in the developer guide.
        Returns:
        builder
      • description

        public JobArgs.Builder description​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the job.
        Returns:
        builder
      • description

        public JobArgs.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the job.
        Returns:
        builder
      • executionClass

        public JobArgs.Builder executionClass​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> executionClass)
        Parameters:
        executionClass - Execution class for the job. The standard execution class is ideal for time-sensitive workloads that require fast job startup and dedicated resources. Valid value: `FLEX`, `STANDARD`.
        Returns:
        builder
      • executionClass

        public JobArgs.Builder executionClass​(java.lang.String executionClass)
        Parameters:
        executionClass - Execution class for the job. The standard execution class is ideal for time-sensitive workloads that require fast job startup and dedicated resources. Valid value: `FLEX`, `STANDARD`.
        Returns:
        builder
      • executionProperty

        public JobArgs.Builder executionProperty​(@Nullable
                                                 com.pulumi.core.Output<JobExecutionPropertyArgs> executionProperty)
        Parameters:
        executionProperty - Execution property of the job. Defined below.
        Returns:
        builder
      • executionProperty

        public JobArgs.Builder executionProperty​(JobExecutionPropertyArgs executionProperty)
        Parameters:
        executionProperty - Execution property of the job. Defined below.
        Returns:
        builder
      • glueVersion

        public JobArgs.Builder glueVersion​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> glueVersion)
        Parameters:
        glueVersion - Version of glue to use, for example "1.0". Ray jobs should set this to 4.0 or greater. For information about available versions, see the [AWS Glue Release Notes](https://docs.aws.amazon.com/glue/latest/dg/release-notes.html).
        Returns:
        builder
      • glueVersion

        public JobArgs.Builder glueVersion​(java.lang.String glueVersion)
        Parameters:
        glueVersion - Version of glue to use, for example "1.0". Ray jobs should set this to 4.0 or greater. For information about available versions, see the [AWS Glue Release Notes](https://docs.aws.amazon.com/glue/latest/dg/release-notes.html).
        Returns:
        builder
      • jobMode

        public JobArgs.Builder jobMode​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> jobMode)
        Parameters:
        jobMode - How a job was created. Valid values are `SCRIPT`, `NOTEBOOK` and `VISUAL`.
        Returns:
        builder
      • jobMode

        public JobArgs.Builder jobMode​(java.lang.String jobMode)
        Parameters:
        jobMode - How a job was created. Valid values are `SCRIPT`, `NOTEBOOK` and `VISUAL`.
        Returns:
        builder
      • jobRunQueuingEnabled

        public JobArgs.Builder jobRunQueuingEnabled​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Boolean> jobRunQueuingEnabled)
        Parameters:
        jobRunQueuingEnabled - Whether job run queuing is enabled for the job runs for this job. A value of true means job run queuing is enabled for the job runs. If false or not populated, the job runs will not be considered for queueing.
        Returns:
        builder
      • jobRunQueuingEnabled

        public JobArgs.Builder jobRunQueuingEnabled​(java.lang.Boolean jobRunQueuingEnabled)
        Parameters:
        jobRunQueuingEnabled - Whether job run queuing is enabled for the job runs for this job. A value of true means job run queuing is enabled for the job runs. If false or not populated, the job runs will not be considered for queueing.
        Returns:
        builder
      • maintenanceWindow

        public JobArgs.Builder maintenanceWindow​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> maintenanceWindow)
        Parameters:
        maintenanceWindow - Day of the week and hour for the maintenance window for streaming jobs.
        Returns:
        builder
      • maintenanceWindow

        public JobArgs.Builder maintenanceWindow​(java.lang.String maintenanceWindow)
        Parameters:
        maintenanceWindow - Day of the week and hour for the maintenance window for streaming jobs.
        Returns:
        builder
      • maxCapacity

        public JobArgs.Builder maxCapacity​(@Nullable
                                           com.pulumi.core.Output<java.lang.Double> maxCapacity)
        Parameters:
        maxCapacity - Maximum number of AWS Glue data processing units (DPUs) that can be allocated when this job runs. `Required` when `pythonshell` is set, accept either `0.0625` or `1.0`. Use `numberOfWorkers` and `workerType` arguments instead with `glueVersion` `2.0` and above.
        Returns:
        builder
      • maxCapacity

        public JobArgs.Builder maxCapacity​(java.lang.Double maxCapacity)
        Parameters:
        maxCapacity - Maximum number of AWS Glue data processing units (DPUs) that can be allocated when this job runs. `Required` when `pythonshell` is set, accept either `0.0625` or `1.0`. Use `numberOfWorkers` and `workerType` arguments instead with `glueVersion` `2.0` and above.
        Returns:
        builder
      • maxRetries

        public JobArgs.Builder maxRetries​(@Nullable
                                          com.pulumi.core.Output<java.lang.Integer> maxRetries)
        Parameters:
        maxRetries - Maximum number of times to retry this job if it fails.
        Returns:
        builder
      • maxRetries

        public JobArgs.Builder maxRetries​(java.lang.Integer maxRetries)
        Parameters:
        maxRetries - Maximum number of times to retry this job if it fails.
        Returns:
        builder
      • name

        public JobArgs.Builder name​(@Nullable
                                    com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name you assign to this job. It must be unique in your account.
        Returns:
        builder
      • name

        public JobArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name you assign to this job. It must be unique in your account.
        Returns:
        builder
      • nonOverridableArguments

        public JobArgs.Builder nonOverridableArguments​(@Nullable
                                                       com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> nonOverridableArguments)
        Parameters:
        nonOverridableArguments - Non-overridable arguments for this job, specified as name-value pairs.
        Returns:
        builder
      • nonOverridableArguments

        public JobArgs.Builder nonOverridableArguments​(java.util.Map<java.lang.String,​java.lang.String> nonOverridableArguments)
        Parameters:
        nonOverridableArguments - Non-overridable arguments for this job, specified as name-value pairs.
        Returns:
        builder
      • notificationProperty

        public JobArgs.Builder notificationProperty​(@Nullable
                                                    com.pulumi.core.Output<JobNotificationPropertyArgs> notificationProperty)
        Parameters:
        notificationProperty - Notification property of the job. Defined below.
        Returns:
        builder
      • notificationProperty

        public JobArgs.Builder notificationProperty​(JobNotificationPropertyArgs notificationProperty)
        Parameters:
        notificationProperty - Notification property of the job. Defined below.
        Returns:
        builder
      • numberOfWorkers

        public JobArgs.Builder numberOfWorkers​(@Nullable
                                               com.pulumi.core.Output<java.lang.Integer> numberOfWorkers)
        Parameters:
        numberOfWorkers - Number of workers of a defined workerType that are allocated when a job runs.
        Returns:
        builder
      • numberOfWorkers

        public JobArgs.Builder numberOfWorkers​(java.lang.Integer numberOfWorkers)
        Parameters:
        numberOfWorkers - Number of workers of a defined workerType that are allocated when a job runs.
        Returns:
        builder
      • region

        public JobArgs.Builder region​(@Nullable
                                      com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public JobArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • roleArn

        public JobArgs.Builder roleArn​(com.pulumi.core.Output<java.lang.String> roleArn)
        Parameters:
        roleArn - ARN of the IAM role associated with this job.
        Returns:
        builder
      • roleArn

        public JobArgs.Builder roleArn​(java.lang.String roleArn)
        Parameters:
        roleArn - ARN of the IAM role associated with this job.
        Returns:
        builder
      • securityConfiguration

        public JobArgs.Builder securityConfiguration​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> securityConfiguration)
        Parameters:
        securityConfiguration - Name of the Security Configuration to be associated with the job.
        Returns:
        builder
      • securityConfiguration

        public JobArgs.Builder securityConfiguration​(java.lang.String securityConfiguration)
        Parameters:
        securityConfiguration - Name of the Security Configuration to be associated with the job.
        Returns:
        builder
      • sourceControlDetails

        public JobArgs.Builder sourceControlDetails​(@Nullable
                                                    com.pulumi.core.Output<JobSourceControlDetailsArgs> sourceControlDetails)
        Parameters:
        sourceControlDetails - Details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository. Defined below.
        Returns:
        builder
      • sourceControlDetails

        public JobArgs.Builder sourceControlDetails​(JobSourceControlDetailsArgs sourceControlDetails)
        Parameters:
        sourceControlDetails - Details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository. Defined below.
        Returns:
        builder
      • tags

        public JobArgs.Builder tags​(@Nullable
                                    com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public JobArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • timeout

        public JobArgs.Builder timeout​(@Nullable
                                       com.pulumi.core.Output<java.lang.Integer> timeout)
        Parameters:
        timeout - Job timeout in minutes. The default is 2880 minutes (48 hours) for `glueetl` and `pythonshell` jobs, and 0 (unlimited) for `gluestreaming` jobs. Leave this attribute argument unconfigured for `glueray` jobs.
        Returns:
        builder
      • timeout

        public JobArgs.Builder timeout​(java.lang.Integer timeout)
        Parameters:
        timeout - Job timeout in minutes. The default is 2880 minutes (48 hours) for `glueetl` and `pythonshell` jobs, and 0 (unlimited) for `gluestreaming` jobs. Leave this attribute argument unconfigured for `glueray` jobs.
        Returns:
        builder
      • workerType

        public JobArgs.Builder workerType​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> workerType)
        Parameters:
        workerType - Type of predefined worker that is allocated when a job runs. Valid values: `Standard`, `G.1X`, `G.2X`, `G.025X`, `G.4X`, `G.8X`, `G.12X`, `G.16X`, `R.1X`, `R.2X`, `R.4X`, `R.8X`, `Z.2X` (Ray jobs). See the [AWS documentation](https://docs.aws.amazon.com/glue/latest/dg/worker-types.html) for details.
        Returns:
        builder
      • workerType

        public JobArgs.Builder workerType​(java.lang.String workerType)
        Parameters:
        workerType - Type of predefined worker that is allocated when a job runs. Valid values: `Standard`, `G.1X`, `G.2X`, `G.025X`, `G.4X`, `G.8X`, `G.12X`, `G.16X`, `R.1X`, `R.2X`, `R.4X`, `R.8X`, `Z.2X` (Ray jobs). See the [AWS documentation](https://docs.aws.amazon.com/glue/latest/dg/worker-types.html) for details.
        Returns:
        builder