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

com.pulumi.azurenative.machinelearningservices.outputs.ListComputeNodesResult 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.machinelearningservices.outputs;

import com.pulumi.azurenative.machinelearningservices.outputs.AmlComputeNodeInformationResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class ListComputeNodesResult {
    /**
     * @return The continuation token.
     * 
     */
    private String nextLink;
    /**
     * @return The collection of returned AmlCompute nodes details.
     * 
     */
    private List nodes;

    private ListComputeNodesResult() {}
    /**
     * @return The continuation token.
     * 
     */
    public String nextLink() {
        return this.nextLink;
    }
    /**
     * @return The collection of returned AmlCompute nodes details.
     * 
     */
    public List nodes() {
        return this.nodes;
    }

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

    public static Builder builder(ListComputeNodesResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String nextLink;
        private List nodes;
        public Builder() {}
        public Builder(ListComputeNodesResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.nextLink = defaults.nextLink;
    	      this.nodes = defaults.nodes;
        }

        @CustomType.Setter
        public Builder nextLink(String nextLink) {
            if (nextLink == null) {
              throw new MissingRequiredPropertyException("ListComputeNodesResult", "nextLink");
            }
            this.nextLink = nextLink;
            return this;
        }
        @CustomType.Setter
        public Builder nodes(List nodes) {
            if (nodes == null) {
              throw new MissingRequiredPropertyException("ListComputeNodesResult", "nodes");
            }
            this.nodes = nodes;
            return this;
        }
        public Builder nodes(AmlComputeNodeInformationResponse... nodes) {
            return nodes(List.of(nodes));
        }
        public ListComputeNodesResult build() {
            final var _resultValue = new ListComputeNodesResult();
            _resultValue.nextLink = nextLink;
            _resultValue.nodes = nodes;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy