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

com.pulumi.azurenative.machinelearning.outputs.GraphNodeResponse Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show 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.machinelearning.outputs;

import com.pulumi.azurenative.machinelearning.outputs.WebServiceParameterResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GraphNodeResponse {
    /**
     * @return The id of the asset represented by this node.
     * 
     */
    private @Nullable String assetId;
    /**
     * @return The id of the input element represented by this node.
     * 
     */
    private @Nullable String inputId;
    /**
     * @return The id of the output element represented by this node.
     * 
     */
    private @Nullable String outputId;
    /**
     * @return If applicable, parameters of the node. Global graph parameters map into these, with values set at runtime.
     * 
     */
    private @Nullable Map parameters;

    private GraphNodeResponse() {}
    /**
     * @return The id of the asset represented by this node.
     * 
     */
    public Optional assetId() {
        return Optional.ofNullable(this.assetId);
    }
    /**
     * @return The id of the input element represented by this node.
     * 
     */
    public Optional inputId() {
        return Optional.ofNullable(this.inputId);
    }
    /**
     * @return The id of the output element represented by this node.
     * 
     */
    public Optional outputId() {
        return Optional.ofNullable(this.outputId);
    }
    /**
     * @return If applicable, parameters of the node. Global graph parameters map into these, with values set at runtime.
     * 
     */
    public Map parameters() {
        return this.parameters == null ? Map.of() : this.parameters;
    }

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

    public static Builder builder(GraphNodeResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String assetId;
        private @Nullable String inputId;
        private @Nullable String outputId;
        private @Nullable Map parameters;
        public Builder() {}
        public Builder(GraphNodeResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.assetId = defaults.assetId;
    	      this.inputId = defaults.inputId;
    	      this.outputId = defaults.outputId;
    	      this.parameters = defaults.parameters;
        }

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

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

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

            this.outputId = outputId;
            return this;
        }
        @CustomType.Setter
        public Builder parameters(@Nullable Map parameters) {

            this.parameters = parameters;
            return this;
        }
        public GraphNodeResponse build() {
            final var _resultValue = new GraphNodeResponse();
            _resultValue.assetId = assetId;
            _resultValue.inputId = inputId;
            _resultValue.outputId = outputId;
            _resultValue.parameters = parameters;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy