All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.machinelearning.outputs.GraphEdgeResponse 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.machinelearning.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 GraphEdgeResponse {
    /**
     * @return The source graph node's identifier.
     * 
     */
    private @Nullable String sourceNodeId;
    /**
     * @return The identifier of the source node's port that the edge connects from.
     * 
     */
    private @Nullable String sourcePortId;
    /**
     * @return The destination graph node's identifier.
     * 
     */
    private @Nullable String targetNodeId;
    /**
     * @return The identifier of the destination node's port that the edge connects into.
     * 
     */
    private @Nullable String targetPortId;

    private GraphEdgeResponse() {}
    /**
     * @return The source graph node's identifier.
     * 
     */
    public Optional sourceNodeId() {
        return Optional.ofNullable(this.sourceNodeId);
    }
    /**
     * @return The identifier of the source node's port that the edge connects from.
     * 
     */
    public Optional sourcePortId() {
        return Optional.ofNullable(this.sourcePortId);
    }
    /**
     * @return The destination graph node's identifier.
     * 
     */
    public Optional targetNodeId() {
        return Optional.ofNullable(this.targetNodeId);
    }
    /**
     * @return The identifier of the destination node's port that the edge connects into.
     * 
     */
    public Optional targetPortId() {
        return Optional.ofNullable(this.targetPortId);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GraphEdgeResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String sourceNodeId;
        private @Nullable String sourcePortId;
        private @Nullable String targetNodeId;
        private @Nullable String targetPortId;
        public Builder() {}
        public Builder(GraphEdgeResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.sourceNodeId = defaults.sourceNodeId;
    	      this.sourcePortId = defaults.sourcePortId;
    	      this.targetNodeId = defaults.targetNodeId;
    	      this.targetPortId = defaults.targetPortId;
        }

        @CustomType.Setter
        public Builder sourceNodeId(@Nullable String sourceNodeId) {

            this.sourceNodeId = sourceNodeId;
            return this;
        }
        @CustomType.Setter
        public Builder sourcePortId(@Nullable String sourcePortId) {

            this.sourcePortId = sourcePortId;
            return this;
        }
        @CustomType.Setter
        public Builder targetNodeId(@Nullable String targetNodeId) {

            this.targetNodeId = targetNodeId;
            return this;
        }
        @CustomType.Setter
        public Builder targetPortId(@Nullable String targetPortId) {

            this.targetPortId = targetPortId;
            return this;
        }
        public GraphEdgeResponse build() {
            final var _resultValue = new GraphEdgeResponse();
            _resultValue.sourceNodeId = sourceNodeId;
            _resultValue.sourcePortId = sourcePortId;
            _resultValue.targetNodeId = targetNodeId;
            _resultValue.targetPortId = targetPortId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy