com.pulumi.aws.emrcontainers.outputs.JobTemplateJobTemplateDataJobDriverSparkSqlJobDriver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.emrcontainers.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class JobTemplateJobTemplateDataJobDriverSparkSqlJobDriver {
/**
* @return The SQL file to be executed.
*
*/
private @Nullable String entryPoint;
/**
* @return The Spark parameters to be included in the Spark SQL command.
*
*/
private @Nullable String sparkSqlParameters;
private JobTemplateJobTemplateDataJobDriverSparkSqlJobDriver() {}
/**
* @return The SQL file to be executed.
*
*/
public Optional entryPoint() {
return Optional.ofNullable(this.entryPoint);
}
/**
* @return The Spark parameters to be included in the Spark SQL command.
*
*/
public Optional sparkSqlParameters() {
return Optional.ofNullable(this.sparkSqlParameters);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(JobTemplateJobTemplateDataJobDriverSparkSqlJobDriver defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String entryPoint;
private @Nullable String sparkSqlParameters;
public Builder() {}
public Builder(JobTemplateJobTemplateDataJobDriverSparkSqlJobDriver defaults) {
Objects.requireNonNull(defaults);
this.entryPoint = defaults.entryPoint;
this.sparkSqlParameters = defaults.sparkSqlParameters;
}
@CustomType.Setter
public Builder entryPoint(@Nullable String entryPoint) {
this.entryPoint = entryPoint;
return this;
}
@CustomType.Setter
public Builder sparkSqlParameters(@Nullable String sparkSqlParameters) {
this.sparkSqlParameters = sparkSqlParameters;
return this;
}
public JobTemplateJobTemplateDataJobDriverSparkSqlJobDriver build() {
final var _resultValue = new JobTemplateJobTemplateDataJobDriverSparkSqlJobDriver();
_resultValue.entryPoint = entryPoint;
_resultValue.sparkSqlParameters = sparkSqlParameters;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy