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

com.ovhcloud.pulumi.ovh.Vrack.outputs.GetVracksResult Maven / Gradle / Ivy

There is a newer version: 1.1.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.ovhcloud.pulumi.ovh.Vrack.outputs;

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 GetVracksResult {
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return The list of vrack service name available for your OVHcloud account.
     * 
     */
    private List results;

    private GetVracksResult() {}
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The list of vrack service name available for your OVHcloud account.
     * 
     */
    public List results() {
        return this.results;
    }

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy