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

com.ovhcloud.pulumi.ovh.Dedicated.outputs.GetServerSpecificationsNetworkOlaAvailableMode 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.Dedicated.outputs;

import com.ovhcloud.pulumi.ovh.Dedicated.outputs.GetServerSpecificationsNetworkOlaAvailableModeInterface;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetServerSpecificationsNetworkOlaAvailableMode {
    /**
     * @return Whether it is the default configuration of the server
     * 
     */
    private Boolean default_;
    /**
     * @return Interface layout
     * 
     */
    private List interfaces;
    /**
     * @return Switch name
     * 
     */
    private String name;

    private GetServerSpecificationsNetworkOlaAvailableMode() {}
    /**
     * @return Whether it is the default configuration of the server
     * 
     */
    public Boolean default_() {
        return this.default_;
    }
    /**
     * @return Interface layout
     * 
     */
    public List interfaces() {
        return this.interfaces;
    }
    /**
     * @return Switch name
     * 
     */
    public String name() {
        return this.name;
    }

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

    public static Builder builder(GetServerSpecificationsNetworkOlaAvailableMode defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Boolean default_;
        private List interfaces;
        private String name;
        public Builder() {}
        public Builder(GetServerSpecificationsNetworkOlaAvailableMode defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.default_ = defaults.default_;
    	      this.interfaces = defaults.interfaces;
    	      this.name = defaults.name;
        }

        @CustomType.Setter("default")
        public Builder default_(Boolean default_) {
            if (default_ == null) {
              throw new MissingRequiredPropertyException("GetServerSpecificationsNetworkOlaAvailableMode", "default_");
            }
            this.default_ = default_;
            return this;
        }
        @CustomType.Setter
        public Builder interfaces(List interfaces) {
            if (interfaces == null) {
              throw new MissingRequiredPropertyException("GetServerSpecificationsNetworkOlaAvailableMode", "interfaces");
            }
            this.interfaces = interfaces;
            return this;
        }
        public Builder interfaces(GetServerSpecificationsNetworkOlaAvailableModeInterface... interfaces) {
            return interfaces(List.of(interfaces));
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetServerSpecificationsNetworkOlaAvailableMode", "name");
            }
            this.name = name;
            return this;
        }
        public GetServerSpecificationsNetworkOlaAvailableMode build() {
            final var _resultValue = new GetServerSpecificationsNetworkOlaAvailableMode();
            _resultValue.default_ = default_;
            _resultValue.interfaces = interfaces;
            _resultValue.name = name;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy