All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.services.glue.CfnJob Maven / Gradle / Ivy

package software.amazon.awscdk.services.glue;

/**
 * A CloudFormation `AWS::Glue::Job`.
 * 

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html */ @javax.annotation.Generated(value = "jsii-pacmak/1.1.0 (build df55f5e)", date = "2020-03-24T17:01:34.345Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.glue.$Module.class, fqn = "@aws-cdk/aws-glue.CfnJob") public class CfnJob extends software.amazon.awscdk.core.CfnResource implements software.amazon.awscdk.core.IInspectable { protected CfnJob(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } protected CfnJob(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { super(initializationMode); } static { CFN_RESOURCE_TYPE_NAME = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.glue.CfnJob.class, "CFN_RESOURCE_TYPE_NAME", java.lang.String.class); } /** * Create a new `AWS::Glue::Job`. *

* @param scope - scope in which this resource is defined. This parameter is required. * @param id - scoped id of the resource. This parameter is required. * @param props - resource properties. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public CfnJob(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.core.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.glue.CfnJobProps props) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(props, "props is required") }); } /** * Examines the CloudFormation resource and discloses attributes. *

* EXPERIMENTAL *

* @param inspector - tree inspector to collect and process attributes. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void inspect(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.core.TreeInspector inspector) { this.jsiiCall("inspect", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(inspector, "inspector is required") }); } /** * @param props This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) @Override protected @org.jetbrains.annotations.NotNull java.util.Map renderProperties(final @org.jetbrains.annotations.NotNull java.util.Map props) { return java.util.Collections.unmodifiableMap(this.jsiiCall("renderProperties", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)), new Object[] { java.util.Objects.requireNonNull(props, "props is required") })); } /** * The CloudFormation resource type name for this resource class. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public final static java.lang.String CFN_RESOURCE_TYPE_NAME; /** */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) protected @org.jetbrains.annotations.NotNull java.util.Map getCfnProperties() { return java.util.Collections.unmodifiableMap(this.jsiiGet("cfnProperties", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); } /** * `AWS::Glue::Job.Tags`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-tags */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public @org.jetbrains.annotations.NotNull software.amazon.awscdk.core.TagManager getTags() { return this.jsiiGet("tags", software.amazon.awscdk.core.TagManager.class); } /** * `AWS::Glue::Job.Command`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-command */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public @org.jetbrains.annotations.NotNull java.lang.Object getCommand() { return this.jsiiGet("command", java.lang.Object.class); } /** * `AWS::Glue::Job.Command`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-command */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setCommand(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.core.IResolvable value) { this.jsiiSet("command", java.util.Objects.requireNonNull(value, "command is required")); } /** * `AWS::Glue::Job.Command`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-command */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setCommand(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.glue.CfnJob.JobCommandProperty value) { this.jsiiSet("command", java.util.Objects.requireNonNull(value, "command is required")); } /** * `AWS::Glue::Job.DefaultArguments`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-defaultarguments */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public @org.jetbrains.annotations.NotNull java.lang.Object getDefaultArguments() { return this.jsiiGet("defaultArguments", java.lang.Object.class); } /** * `AWS::Glue::Job.DefaultArguments`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-defaultarguments */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setDefaultArguments(final @org.jetbrains.annotations.NotNull java.lang.Object value) { this.jsiiSet("defaultArguments", java.util.Objects.requireNonNull(value, "defaultArguments is required")); } /** * `AWS::Glue::Job.Role`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-role */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public @org.jetbrains.annotations.NotNull java.lang.String getRole() { return this.jsiiGet("role", java.lang.String.class); } /** * `AWS::Glue::Job.Role`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-role */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setRole(final @org.jetbrains.annotations.NotNull java.lang.String value) { this.jsiiSet("role", java.util.Objects.requireNonNull(value, "role is required")); } /** * `AWS::Glue::Job.AllocatedCapacity`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-allocatedcapacity */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public @org.jetbrains.annotations.Nullable java.lang.Number getAllocatedCapacity() { return this.jsiiGet("allocatedCapacity", java.lang.Number.class); } /** * `AWS::Glue::Job.AllocatedCapacity`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-allocatedcapacity */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setAllocatedCapacity(final @org.jetbrains.annotations.Nullable java.lang.Number value) { this.jsiiSet("allocatedCapacity", value); } /** * `AWS::Glue::Job.Connections`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-connections */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public @org.jetbrains.annotations.Nullable java.lang.Object getConnections() { return this.jsiiGet("connections", java.lang.Object.class); } /** * `AWS::Glue::Job.Connections`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-connections */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setConnections(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.core.IResolvable value) { this.jsiiSet("connections", value); } /** * `AWS::Glue::Job.Connections`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-connections */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setConnections(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.glue.CfnJob.ConnectionsListProperty value) { this.jsiiSet("connections", value); } /** * `AWS::Glue::Job.Description`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-description */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public @org.jetbrains.annotations.Nullable java.lang.String getDescription() { return this.jsiiGet("description", java.lang.String.class); } /** * `AWS::Glue::Job.Description`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-description */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setDescription(final @org.jetbrains.annotations.Nullable java.lang.String value) { this.jsiiSet("description", value); } /** * `AWS::Glue::Job.ExecutionProperty`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-executionproperty */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public @org.jetbrains.annotations.Nullable java.lang.Object getExecutionProperty() { return this.jsiiGet("executionProperty", java.lang.Object.class); } /** * `AWS::Glue::Job.ExecutionProperty`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-executionproperty */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setExecutionProperty(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.core.IResolvable value) { this.jsiiSet("executionProperty", value); } /** * `AWS::Glue::Job.ExecutionProperty`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-executionproperty */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setExecutionProperty(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.glue.CfnJob.ExecutionPropertyProperty value) { this.jsiiSet("executionProperty", value); } /** * `AWS::Glue::Job.GlueVersion`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-glueversion */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public @org.jetbrains.annotations.Nullable java.lang.String getGlueVersion() { return this.jsiiGet("glueVersion", java.lang.String.class); } /** * `AWS::Glue::Job.GlueVersion`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-glueversion */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setGlueVersion(final @org.jetbrains.annotations.Nullable java.lang.String value) { this.jsiiSet("glueVersion", value); } /** * `AWS::Glue::Job.LogUri`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-loguri */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public @org.jetbrains.annotations.Nullable java.lang.String getLogUri() { return this.jsiiGet("logUri", java.lang.String.class); } /** * `AWS::Glue::Job.LogUri`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-loguri */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setLogUri(final @org.jetbrains.annotations.Nullable java.lang.String value) { this.jsiiSet("logUri", value); } /** * `AWS::Glue::Job.MaxCapacity`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-maxcapacity */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public @org.jetbrains.annotations.Nullable java.lang.Number getMaxCapacity() { return this.jsiiGet("maxCapacity", java.lang.Number.class); } /** * `AWS::Glue::Job.MaxCapacity`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-maxcapacity */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setMaxCapacity(final @org.jetbrains.annotations.Nullable java.lang.Number value) { this.jsiiSet("maxCapacity", value); } /** * `AWS::Glue::Job.MaxRetries`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-maxretries */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public @org.jetbrains.annotations.Nullable java.lang.Number getMaxRetries() { return this.jsiiGet("maxRetries", java.lang.Number.class); } /** * `AWS::Glue::Job.MaxRetries`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-maxretries */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setMaxRetries(final @org.jetbrains.annotations.Nullable java.lang.Number value) { this.jsiiSet("maxRetries", value); } /** * `AWS::Glue::Job.Name`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-name */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public @org.jetbrains.annotations.Nullable java.lang.String getName() { return this.jsiiGet("name", java.lang.String.class); } /** * `AWS::Glue::Job.Name`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-name */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setName(final @org.jetbrains.annotations.Nullable java.lang.String value) { this.jsiiSet("name", value); } /** * `AWS::Glue::Job.NotificationProperty`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-notificationproperty */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public @org.jetbrains.annotations.Nullable java.lang.Object getNotificationProperty() { return this.jsiiGet("notificationProperty", java.lang.Object.class); } /** * `AWS::Glue::Job.NotificationProperty`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-notificationproperty */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setNotificationProperty(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.core.IResolvable value) { this.jsiiSet("notificationProperty", value); } /** * `AWS::Glue::Job.NotificationProperty`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-notificationproperty */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setNotificationProperty(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.glue.CfnJob.NotificationPropertyProperty value) { this.jsiiSet("notificationProperty", value); } /** * `AWS::Glue::Job.NumberOfWorkers`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-numberofworkers */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public @org.jetbrains.annotations.Nullable java.lang.Number getNumberOfWorkers() { return this.jsiiGet("numberOfWorkers", java.lang.Number.class); } /** * `AWS::Glue::Job.NumberOfWorkers`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-numberofworkers */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setNumberOfWorkers(final @org.jetbrains.annotations.Nullable java.lang.Number value) { this.jsiiSet("numberOfWorkers", value); } /** * `AWS::Glue::Job.SecurityConfiguration`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-securityconfiguration */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public @org.jetbrains.annotations.Nullable java.lang.String getSecurityConfiguration() { return this.jsiiGet("securityConfiguration", java.lang.String.class); } /** * `AWS::Glue::Job.SecurityConfiguration`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-securityconfiguration */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setSecurityConfiguration(final @org.jetbrains.annotations.Nullable java.lang.String value) { this.jsiiSet("securityConfiguration", value); } /** * `AWS::Glue::Job.Timeout`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-timeout */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public @org.jetbrains.annotations.Nullable java.lang.Number getTimeout() { return this.jsiiGet("timeout", java.lang.Number.class); } /** * `AWS::Glue::Job.Timeout`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-timeout */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setTimeout(final @org.jetbrains.annotations.Nullable java.lang.Number value) { this.jsiiSet("timeout", value); } /** * `AWS::Glue::Job.WorkerType`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-workertype */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public @org.jetbrains.annotations.Nullable java.lang.String getWorkerType() { return this.jsiiGet("workerType", java.lang.String.class); } /** * `AWS::Glue::Job.WorkerType`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-workertype */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setWorkerType(final @org.jetbrains.annotations.Nullable java.lang.String value) { this.jsiiSet("workerType", value); } /** * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-connectionslist.html */ @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.glue.$Module.class, fqn = "@aws-cdk/aws-glue.CfnJob.ConnectionsListProperty") @software.amazon.jsii.Jsii.Proxy(ConnectionsListProperty.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public static interface ConnectionsListProperty extends software.amazon.jsii.JsiiSerializable { /** * `CfnJob.ConnectionsListProperty.Connections`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-connectionslist.html#cfn-glue-job-connectionslist-connections */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) default @org.jetbrains.annotations.Nullable java.util.List getConnections() { return null; } /** * @return a {@link Builder} of {@link ConnectionsListProperty} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) static Builder builder() { return new Builder(); } /** * A builder for {@link ConnectionsListProperty} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public static final class Builder { private java.util.List connections; /** * Sets the value of {@link ConnectionsListProperty#getConnections} * @param connections `CfnJob.ConnectionsListProperty.Connections`. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder connections(java.util.List connections) { this.connections = connections; return this; } /** * Builds the configured instance. * @return a new instance of {@link ConnectionsListProperty} * @throws NullPointerException if any required attribute was not provided */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public ConnectionsListProperty build() { return new Jsii$Proxy(connections); } } /** * An implementation for {@link ConnectionsListProperty} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ConnectionsListProperty { private final java.util.List connections; /** * Constructor that initializes the object based on values retrieved from the JsiiObject. * @param objRef Reference to the JSII managed object. */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); this.connections = this.jsiiGet("connections", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))); } /** * Constructor that initializes the object based on literal property values passed by the {@link Builder}. */ private Jsii$Proxy(final java.util.List connections) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); this.connections = connections; } @Override public java.util.List getConnections() { return this.connections; } @Override public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); if (this.getConnections() != null) { data.set("connections", om.valueToTree(this.getConnections())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); struct.set("fqn", om.valueToTree("@aws-cdk/aws-glue.CfnJob.ConnectionsListProperty")); struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); obj.set("$jsii.struct", struct); return obj; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ConnectionsListProperty.Jsii$Proxy that = (ConnectionsListProperty.Jsii$Proxy) o; return this.connections != null ? this.connections.equals(that.connections) : that.connections == null; } @Override public int hashCode() { int result = this.connections != null ? this.connections.hashCode() : 0; return result; } } } /** * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-executionproperty.html */ @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.glue.$Module.class, fqn = "@aws-cdk/aws-glue.CfnJob.ExecutionPropertyProperty") @software.amazon.jsii.Jsii.Proxy(ExecutionPropertyProperty.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public static interface ExecutionPropertyProperty extends software.amazon.jsii.JsiiSerializable { /** * `CfnJob.ExecutionPropertyProperty.MaxConcurrentRuns`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-executionproperty.html#cfn-glue-job-executionproperty-maxconcurrentruns */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) default @org.jetbrains.annotations.Nullable java.lang.Number getMaxConcurrentRuns() { return null; } /** * @return a {@link Builder} of {@link ExecutionPropertyProperty} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) static Builder builder() { return new Builder(); } /** * A builder for {@link ExecutionPropertyProperty} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public static final class Builder { private java.lang.Number maxConcurrentRuns; /** * Sets the value of {@link ExecutionPropertyProperty#getMaxConcurrentRuns} * @param maxConcurrentRuns `CfnJob.ExecutionPropertyProperty.MaxConcurrentRuns`. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder maxConcurrentRuns(java.lang.Number maxConcurrentRuns) { this.maxConcurrentRuns = maxConcurrentRuns; return this; } /** * Builds the configured instance. * @return a new instance of {@link ExecutionPropertyProperty} * @throws NullPointerException if any required attribute was not provided */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public ExecutionPropertyProperty build() { return new Jsii$Proxy(maxConcurrentRuns); } } /** * An implementation for {@link ExecutionPropertyProperty} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ExecutionPropertyProperty { private final java.lang.Number maxConcurrentRuns; /** * Constructor that initializes the object based on values retrieved from the JsiiObject. * @param objRef Reference to the JSII managed object. */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); this.maxConcurrentRuns = this.jsiiGet("maxConcurrentRuns", java.lang.Number.class); } /** * Constructor that initializes the object based on literal property values passed by the {@link Builder}. */ private Jsii$Proxy(final java.lang.Number maxConcurrentRuns) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); this.maxConcurrentRuns = maxConcurrentRuns; } @Override public java.lang.Number getMaxConcurrentRuns() { return this.maxConcurrentRuns; } @Override public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); if (this.getMaxConcurrentRuns() != null) { data.set("maxConcurrentRuns", om.valueToTree(this.getMaxConcurrentRuns())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); struct.set("fqn", om.valueToTree("@aws-cdk/aws-glue.CfnJob.ExecutionPropertyProperty")); struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); obj.set("$jsii.struct", struct); return obj; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ExecutionPropertyProperty.Jsii$Proxy that = (ExecutionPropertyProperty.Jsii$Proxy) o; return this.maxConcurrentRuns != null ? this.maxConcurrentRuns.equals(that.maxConcurrentRuns) : that.maxConcurrentRuns == null; } @Override public int hashCode() { int result = this.maxConcurrentRuns != null ? this.maxConcurrentRuns.hashCode() : 0; return result; } } } /** * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html */ @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.glue.$Module.class, fqn = "@aws-cdk/aws-glue.CfnJob.JobCommandProperty") @software.amazon.jsii.Jsii.Proxy(JobCommandProperty.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public static interface JobCommandProperty extends software.amazon.jsii.JsiiSerializable { /** * `CfnJob.JobCommandProperty.Name`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html#cfn-glue-job-jobcommand-name */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) default @org.jetbrains.annotations.Nullable java.lang.String getName() { return null; } /** * `CfnJob.JobCommandProperty.PythonVersion`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html#cfn-glue-job-jobcommand-pythonversion */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) default @org.jetbrains.annotations.Nullable java.lang.String getPythonVersion() { return null; } /** * `CfnJob.JobCommandProperty.ScriptLocation`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html#cfn-glue-job-jobcommand-scriptlocation */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) default @org.jetbrains.annotations.Nullable java.lang.String getScriptLocation() { return null; } /** * @return a {@link Builder} of {@link JobCommandProperty} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) static Builder builder() { return new Builder(); } /** * A builder for {@link JobCommandProperty} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public static final class Builder { private java.lang.String name; private java.lang.String pythonVersion; private java.lang.String scriptLocation; /** * Sets the value of {@link JobCommandProperty#getName} * @param name `CfnJob.JobCommandProperty.Name`. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder name(java.lang.String name) { this.name = name; return this; } /** * Sets the value of {@link JobCommandProperty#getPythonVersion} * @param pythonVersion `CfnJob.JobCommandProperty.PythonVersion`. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder pythonVersion(java.lang.String pythonVersion) { this.pythonVersion = pythonVersion; return this; } /** * Sets the value of {@link JobCommandProperty#getScriptLocation} * @param scriptLocation `CfnJob.JobCommandProperty.ScriptLocation`. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder scriptLocation(java.lang.String scriptLocation) { this.scriptLocation = scriptLocation; return this; } /** * Builds the configured instance. * @return a new instance of {@link JobCommandProperty} * @throws NullPointerException if any required attribute was not provided */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public JobCommandProperty build() { return new Jsii$Proxy(name, pythonVersion, scriptLocation); } } /** * An implementation for {@link JobCommandProperty} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements JobCommandProperty { private final java.lang.String name; private final java.lang.String pythonVersion; private final java.lang.String scriptLocation; /** * Constructor that initializes the object based on values retrieved from the JsiiObject. * @param objRef Reference to the JSII managed object. */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); this.name = this.jsiiGet("name", java.lang.String.class); this.pythonVersion = this.jsiiGet("pythonVersion", java.lang.String.class); this.scriptLocation = this.jsiiGet("scriptLocation", java.lang.String.class); } /** * Constructor that initializes the object based on literal property values passed by the {@link Builder}. */ private Jsii$Proxy(final java.lang.String name, final java.lang.String pythonVersion, final java.lang.String scriptLocation) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); this.name = name; this.pythonVersion = pythonVersion; this.scriptLocation = scriptLocation; } @Override public java.lang.String getName() { return this.name; } @Override public java.lang.String getPythonVersion() { return this.pythonVersion; } @Override public java.lang.String getScriptLocation() { return this.scriptLocation; } @Override public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); if (this.getName() != null) { data.set("name", om.valueToTree(this.getName())); } if (this.getPythonVersion() != null) { data.set("pythonVersion", om.valueToTree(this.getPythonVersion())); } if (this.getScriptLocation() != null) { data.set("scriptLocation", om.valueToTree(this.getScriptLocation())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); struct.set("fqn", om.valueToTree("@aws-cdk/aws-glue.CfnJob.JobCommandProperty")); struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); obj.set("$jsii.struct", struct); return obj; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; JobCommandProperty.Jsii$Proxy that = (JobCommandProperty.Jsii$Proxy) o; if (this.name != null ? !this.name.equals(that.name) : that.name != null) return false; if (this.pythonVersion != null ? !this.pythonVersion.equals(that.pythonVersion) : that.pythonVersion != null) return false; return this.scriptLocation != null ? this.scriptLocation.equals(that.scriptLocation) : that.scriptLocation == null; } @Override public int hashCode() { int result = this.name != null ? this.name.hashCode() : 0; result = 31 * result + (this.pythonVersion != null ? this.pythonVersion.hashCode() : 0); result = 31 * result + (this.scriptLocation != null ? this.scriptLocation.hashCode() : 0); return result; } } } /** * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-notificationproperty.html */ @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.glue.$Module.class, fqn = "@aws-cdk/aws-glue.CfnJob.NotificationPropertyProperty") @software.amazon.jsii.Jsii.Proxy(NotificationPropertyProperty.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public static interface NotificationPropertyProperty extends software.amazon.jsii.JsiiSerializable { /** * `CfnJob.NotificationPropertyProperty.NotifyDelayAfter`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-notificationproperty.html#cfn-glue-job-notificationproperty-notifydelayafter */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) default @org.jetbrains.annotations.Nullable java.lang.Number getNotifyDelayAfter() { return null; } /** * @return a {@link Builder} of {@link NotificationPropertyProperty} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) static Builder builder() { return new Builder(); } /** * A builder for {@link NotificationPropertyProperty} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public static final class Builder { private java.lang.Number notifyDelayAfter; /** * Sets the value of {@link NotificationPropertyProperty#getNotifyDelayAfter} * @param notifyDelayAfter `CfnJob.NotificationPropertyProperty.NotifyDelayAfter`. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder notifyDelayAfter(java.lang.Number notifyDelayAfter) { this.notifyDelayAfter = notifyDelayAfter; return this; } /** * Builds the configured instance. * @return a new instance of {@link NotificationPropertyProperty} * @throws NullPointerException if any required attribute was not provided */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public NotificationPropertyProperty build() { return new Jsii$Proxy(notifyDelayAfter); } } /** * An implementation for {@link NotificationPropertyProperty} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements NotificationPropertyProperty { private final java.lang.Number notifyDelayAfter; /** * Constructor that initializes the object based on values retrieved from the JsiiObject. * @param objRef Reference to the JSII managed object. */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); this.notifyDelayAfter = this.jsiiGet("notifyDelayAfter", java.lang.Number.class); } /** * Constructor that initializes the object based on literal property values passed by the {@link Builder}. */ private Jsii$Proxy(final java.lang.Number notifyDelayAfter) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); this.notifyDelayAfter = notifyDelayAfter; } @Override public java.lang.Number getNotifyDelayAfter() { return this.notifyDelayAfter; } @Override public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); if (this.getNotifyDelayAfter() != null) { data.set("notifyDelayAfter", om.valueToTree(this.getNotifyDelayAfter())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); struct.set("fqn", om.valueToTree("@aws-cdk/aws-glue.CfnJob.NotificationPropertyProperty")); struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); obj.set("$jsii.struct", struct); return obj; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; NotificationPropertyProperty.Jsii$Proxy that = (NotificationPropertyProperty.Jsii$Proxy) o; return this.notifyDelayAfter != null ? this.notifyDelayAfter.equals(that.notifyDelayAfter) : that.notifyDelayAfter == null; } @Override public int hashCode() { int result = this.notifyDelayAfter != null ? this.notifyDelayAfter.hashCode() : 0; return result; } } } /** * A fluent builder for {@link software.amazon.awscdk.services.glue.CfnJob}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public static final class Builder { /** * @return a new instance of {@link Builder}. * @param scope - scope in which this resource is defined. This parameter is required. * @param id - scoped id of the resource. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public static Builder create(final software.amazon.awscdk.core.Construct scope, final java.lang.String id) { return new Builder(scope, id); } private final software.amazon.awscdk.core.Construct scope; private final java.lang.String id; private final software.amazon.awscdk.services.glue.CfnJobProps.Builder props; private Builder(final software.amazon.awscdk.core.Construct scope, final java.lang.String id) { this.scope = scope; this.id = id; this.props = new software.amazon.awscdk.services.glue.CfnJobProps.Builder(); } /** * `AWS::Glue::Job.Command`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-command * @param command `AWS::Glue::Job.Command`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder command(final software.amazon.awscdk.core.IResolvable command) { this.props.command(command); return this; } /** * `AWS::Glue::Job.Command`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-command * @param command `AWS::Glue::Job.Command`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder command(final software.amazon.awscdk.services.glue.CfnJob.JobCommandProperty command) { this.props.command(command); return this; } /** * `AWS::Glue::Job.Role`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-role * @param role `AWS::Glue::Job.Role`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder role(final java.lang.String role) { this.props.role(role); return this; } /** * `AWS::Glue::Job.AllocatedCapacity`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-allocatedcapacity * @param allocatedCapacity `AWS::Glue::Job.AllocatedCapacity`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder allocatedCapacity(final java.lang.Number allocatedCapacity) { this.props.allocatedCapacity(allocatedCapacity); return this; } /** * `AWS::Glue::Job.Connections`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-connections * @param connections `AWS::Glue::Job.Connections`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder connections(final software.amazon.awscdk.core.IResolvable connections) { this.props.connections(connections); return this; } /** * `AWS::Glue::Job.Connections`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-connections * @param connections `AWS::Glue::Job.Connections`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder connections(final software.amazon.awscdk.services.glue.CfnJob.ConnectionsListProperty connections) { this.props.connections(connections); return this; } /** * `AWS::Glue::Job.DefaultArguments`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-defaultarguments * @param defaultArguments `AWS::Glue::Job.DefaultArguments`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder defaultArguments(final java.lang.Object defaultArguments) { this.props.defaultArguments(defaultArguments); return this; } /** * `AWS::Glue::Job.Description`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-description * @param description `AWS::Glue::Job.Description`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder description(final java.lang.String description) { this.props.description(description); return this; } /** * `AWS::Glue::Job.ExecutionProperty`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-executionproperty * @param executionProperty `AWS::Glue::Job.ExecutionProperty`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder executionProperty(final software.amazon.awscdk.core.IResolvable executionProperty) { this.props.executionProperty(executionProperty); return this; } /** * `AWS::Glue::Job.ExecutionProperty`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-executionproperty * @param executionProperty `AWS::Glue::Job.ExecutionProperty`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder executionProperty(final software.amazon.awscdk.services.glue.CfnJob.ExecutionPropertyProperty executionProperty) { this.props.executionProperty(executionProperty); return this; } /** * `AWS::Glue::Job.GlueVersion`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-glueversion * @param glueVersion `AWS::Glue::Job.GlueVersion`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder glueVersion(final java.lang.String glueVersion) { this.props.glueVersion(glueVersion); return this; } /** * `AWS::Glue::Job.LogUri`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-loguri * @param logUri `AWS::Glue::Job.LogUri`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder logUri(final java.lang.String logUri) { this.props.logUri(logUri); return this; } /** * `AWS::Glue::Job.MaxCapacity`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-maxcapacity * @param maxCapacity `AWS::Glue::Job.MaxCapacity`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder maxCapacity(final java.lang.Number maxCapacity) { this.props.maxCapacity(maxCapacity); return this; } /** * `AWS::Glue::Job.MaxRetries`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-maxretries * @param maxRetries `AWS::Glue::Job.MaxRetries`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder maxRetries(final java.lang.Number maxRetries) { this.props.maxRetries(maxRetries); return this; } /** * `AWS::Glue::Job.Name`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-name * @param name `AWS::Glue::Job.Name`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder name(final java.lang.String name) { this.props.name(name); return this; } /** * `AWS::Glue::Job.NotificationProperty`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-notificationproperty * @param notificationProperty `AWS::Glue::Job.NotificationProperty`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder notificationProperty(final software.amazon.awscdk.core.IResolvable notificationProperty) { this.props.notificationProperty(notificationProperty); return this; } /** * `AWS::Glue::Job.NotificationProperty`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-notificationproperty * @param notificationProperty `AWS::Glue::Job.NotificationProperty`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder notificationProperty(final software.amazon.awscdk.services.glue.CfnJob.NotificationPropertyProperty notificationProperty) { this.props.notificationProperty(notificationProperty); return this; } /** * `AWS::Glue::Job.NumberOfWorkers`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-numberofworkers * @param numberOfWorkers `AWS::Glue::Job.NumberOfWorkers`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder numberOfWorkers(final java.lang.Number numberOfWorkers) { this.props.numberOfWorkers(numberOfWorkers); return this; } /** * `AWS::Glue::Job.SecurityConfiguration`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-securityconfiguration * @param securityConfiguration `AWS::Glue::Job.SecurityConfiguration`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder securityConfiguration(final java.lang.String securityConfiguration) { this.props.securityConfiguration(securityConfiguration); return this; } /** * `AWS::Glue::Job.Tags`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-tags * @param tags `AWS::Glue::Job.Tags`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder tags(final java.lang.Object tags) { this.props.tags(tags); return this; } /** * `AWS::Glue::Job.Timeout`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-timeout * @param timeout `AWS::Glue::Job.Timeout`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder timeout(final java.lang.Number timeout) { this.props.timeout(timeout); return this; } /** * `AWS::Glue::Job.WorkerType`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-workertype * @param workerType `AWS::Glue::Job.WorkerType`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder workerType(final java.lang.String workerType) { this.props.workerType(workerType); return this; } /** * @returns a newly built instance of {@link software.amazon.awscdk.services.glue.CfnJob}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public software.amazon.awscdk.services.glue.CfnJob build() { return new software.amazon.awscdk.services.glue.CfnJob( this.scope, this.id, this.props.build() ); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy