com.pulumi.aws.glue.outputs.GetScriptDagEdge 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.
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.aws.glue.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetScriptDagEdge {
/**
* @return ID of the node at which the edge starts.
*
*/
private String source;
/**
* @return ID of the node at which the edge ends.
*
*/
private String target;
/**
* @return Target of the edge.
*
*/
private @Nullable String targetParameter;
private GetScriptDagEdge() {}
/**
* @return ID of the node at which the edge starts.
*
*/
public String source() {
return this.source;
}
/**
* @return ID of the node at which the edge ends.
*
*/
public String target() {
return this.target;
}
/**
* @return Target of the edge.
*
*/
public Optional targetParameter() {
return Optional.ofNullable(this.targetParameter);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetScriptDagEdge defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String source;
private String target;
private @Nullable String targetParameter;
public Builder() {}
public Builder(GetScriptDagEdge defaults) {
Objects.requireNonNull(defaults);
this.source = defaults.source;
this.target = defaults.target;
this.targetParameter = defaults.targetParameter;
}
@CustomType.Setter
public Builder source(String source) {
if (source == null) {
throw new MissingRequiredPropertyException("GetScriptDagEdge", "source");
}
this.source = source;
return this;
}
@CustomType.Setter
public Builder target(String target) {
if (target == null) {
throw new MissingRequiredPropertyException("GetScriptDagEdge", "target");
}
this.target = target;
return this;
}
@CustomType.Setter
public Builder targetParameter(@Nullable String targetParameter) {
this.targetParameter = targetParameter;
return this;
}
public GetScriptDagEdge build() {
final var _resultValue = new GetScriptDagEdge();
_resultValue.source = source;
_resultValue.target = target;
_resultValue.targetParameter = targetParameter;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy