com.pulumi.azurenative.datafactory.inputs.ExpressionArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
The newest version!
// *** 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.azurenative.datafactory.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* Azure Data Factory expression definition.
*
*/
public final class ExpressionArgs extends com.pulumi.resources.ResourceArgs {
public static final ExpressionArgs Empty = new ExpressionArgs();
/**
* Expression type.
*
*/
@Import(name="type", required=true)
private Output type;
/**
* @return Expression type.
*
*/
public Output type() {
return this.type;
}
/**
* Expression value.
*
*/
@Import(name="value", required=true)
private Output value;
/**
* @return Expression value.
*
*/
public Output value() {
return this.value;
}
private ExpressionArgs() {}
private ExpressionArgs(ExpressionArgs $) {
this.type = $.type;
this.value = $.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ExpressionArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ExpressionArgs $;
public Builder() {
$ = new ExpressionArgs();
}
public Builder(ExpressionArgs defaults) {
$ = new ExpressionArgs(Objects.requireNonNull(defaults));
}
/**
* @param type Expression type.
*
* @return builder
*
*/
public Builder type(Output type) {
$.type = type;
return this;
}
/**
* @param type Expression type.
*
* @return builder
*
*/
public Builder type(String type) {
return type(Output.of(type));
}
/**
* @param value Expression value.
*
* @return builder
*
*/
public Builder value(Output value) {
$.value = value;
return this;
}
/**
* @param value Expression value.
*
* @return builder
*
*/
public Builder value(String value) {
return value(Output.of(value));
}
public ExpressionArgs build() {
if ($.type == null) {
throw new MissingRequiredPropertyException("ExpressionArgs", "type");
}
if ($.value == null) {
throw new MissingRequiredPropertyException("ExpressionArgs", "value");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy