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

com.pulumi.azurenative.machinelearning.outputs.GraphPackageResponse 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.azurenative.machinelearning.outputs.GraphEdgeResponse;
import com.pulumi.azurenative.machinelearning.outputs.GraphNodeResponse;
import com.pulumi.azurenative.machinelearning.outputs.GraphParameterResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class GraphPackageResponse {
    /**
     * @return The list of edges making up the graph.
     * 
     */
    private @Nullable List edges;
    /**
     * @return The collection of global parameters for the graph, given as a global parameter name to GraphParameter map. Each parameter here has a 1:1 match with the global parameters values map declared at the WebServiceProperties level.
     * 
     */
    private @Nullable Map graphParameters;
    /**
     * @return The set of nodes making up the graph, provided as a nodeId to GraphNode map
     * 
     */
    private @Nullable Map nodes;

    private GraphPackageResponse() {}
    /**
     * @return The list of edges making up the graph.
     * 
     */
    public List edges() {
        return this.edges == null ? List.of() : this.edges;
    }
    /**
     * @return The collection of global parameters for the graph, given as a global parameter name to GraphParameter map. Each parameter here has a 1:1 match with the global parameters values map declared at the WebServiceProperties level.
     * 
     */
    public Map graphParameters() {
        return this.graphParameters == null ? Map.of() : this.graphParameters;
    }
    /**
     * @return The set of nodes making up the graph, provided as a nodeId to GraphNode map
     * 
     */
    public Map nodes() {
        return this.nodes == null ? Map.of() : this.nodes;
    }

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

    public static Builder builder(GraphPackageResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List edges;
        private @Nullable Map graphParameters;
        private @Nullable Map nodes;
        public Builder() {}
        public Builder(GraphPackageResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.edges = defaults.edges;
    	      this.graphParameters = defaults.graphParameters;
    	      this.nodes = defaults.nodes;
        }

        @CustomType.Setter
        public Builder edges(@Nullable List edges) {

            this.edges = edges;
            return this;
        }
        public Builder edges(GraphEdgeResponse... edges) {
            return edges(List.of(edges));
        }
        @CustomType.Setter
        public Builder graphParameters(@Nullable Map graphParameters) {

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

            this.nodes = nodes;
            return this;
        }
        public GraphPackageResponse build() {
            final var _resultValue = new GraphPackageResponse();
            _resultValue.edges = edges;
            _resultValue.graphParameters = graphParameters;
            _resultValue.nodes = nodes;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy