com.pulumi.azurenative.datafactory.outputs.ActivityDependencyResponse 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class ActivityDependencyResponse {
/**
* @return Activity name.
*
*/
private String activity;
/**
* @return Match-Condition for the dependency.
*
*/
private List dependencyConditions;
private ActivityDependencyResponse() {}
/**
* @return Activity name.
*
*/
public String activity() {
return this.activity;
}
/**
* @return Match-Condition for the dependency.
*
*/
public List dependencyConditions() {
return this.dependencyConditions;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ActivityDependencyResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String activity;
private List dependencyConditions;
public Builder() {}
public Builder(ActivityDependencyResponse defaults) {
Objects.requireNonNull(defaults);
this.activity = defaults.activity;
this.dependencyConditions = defaults.dependencyConditions;
}
@CustomType.Setter
public Builder activity(String activity) {
if (activity == null) {
throw new MissingRequiredPropertyException("ActivityDependencyResponse", "activity");
}
this.activity = activity;
return this;
}
@CustomType.Setter
public Builder dependencyConditions(List dependencyConditions) {
if (dependencyConditions == null) {
throw new MissingRequiredPropertyException("ActivityDependencyResponse", "dependencyConditions");
}
this.dependencyConditions = dependencyConditions;
return this;
}
public Builder dependencyConditions(String... dependencyConditions) {
return dependencyConditions(List.of(dependencyConditions));
}
public ActivityDependencyResponse build() {
final var _resultValue = new ActivityDependencyResponse();
_resultValue.activity = activity;
_resultValue.dependencyConditions = dependencyConditions;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy