
com.pulumi.azurenative.datafactory.outputs.SetVariableActivityResponse Maven / Gradle / Ivy
// *** 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.azurenative.datafactory.outputs.ActivityDependencyResponse;
import com.pulumi.azurenative.datafactory.outputs.SecureInputOutputPolicyResponse;
import com.pulumi.azurenative.datafactory.outputs.UserPropertyResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SetVariableActivityResponse {
/**
* @return Activity depends on condition.
*
*/
private @Nullable List dependsOn;
/**
* @return Activity description.
*
*/
private @Nullable String description;
/**
* @return Activity name.
*
*/
private String name;
/**
* @return Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
*
*/
private @Nullable String onInactiveMarkAs;
/**
* @return Activity policy.
*
*/
private @Nullable SecureInputOutputPolicyResponse policy;
/**
* @return If set to true, it sets the pipeline run return value.
*
*/
private @Nullable Boolean setSystemVariable;
/**
* @return Activity state. This is an optional property and if not provided, the state will be Active by default.
*
*/
private @Nullable String state;
/**
* @return Type of activity.
* Expected value is 'SetVariable'.
*
*/
private String type;
/**
* @return Activity user properties.
*
*/
private @Nullable List userProperties;
/**
* @return Value to be set. Could be a static value or Expression.
*
*/
private @Nullable Object value;
/**
* @return Name of the variable whose value needs to be set.
*
*/
private @Nullable String variableName;
private SetVariableActivityResponse() {}
/**
* @return Activity depends on condition.
*
*/
public List dependsOn() {
return this.dependsOn == null ? List.of() : this.dependsOn;
}
/**
* @return Activity description.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return Activity name.
*
*/
public String name() {
return this.name;
}
/**
* @return Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
*
*/
public Optional onInactiveMarkAs() {
return Optional.ofNullable(this.onInactiveMarkAs);
}
/**
* @return Activity policy.
*
*/
public Optional policy() {
return Optional.ofNullable(this.policy);
}
/**
* @return If set to true, it sets the pipeline run return value.
*
*/
public Optional setSystemVariable() {
return Optional.ofNullable(this.setSystemVariable);
}
/**
* @return Activity state. This is an optional property and if not provided, the state will be Active by default.
*
*/
public Optional state() {
return Optional.ofNullable(this.state);
}
/**
* @return Type of activity.
* Expected value is 'SetVariable'.
*
*/
public String type() {
return this.type;
}
/**
* @return Activity user properties.
*
*/
public List userProperties() {
return this.userProperties == null ? List.of() : this.userProperties;
}
/**
* @return Value to be set. Could be a static value or Expression.
*
*/
public Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy