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

com.pulumi.azurenative.sql.outputs.ServerInfoResponse Maven / Gradle / Ivy

There is a newer version: 2.78.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.sql.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class ServerInfoResponse {
    /**
     * @return Server Id.
     * 
     */
    private String serverId;

    private ServerInfoResponse() {}
    /**
     * @return Server Id.
     * 
     */
    public String serverId() {
        return this.serverId;
    }

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

    public static Builder builder(ServerInfoResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String serverId;
        public Builder() {}
        public Builder(ServerInfoResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.serverId = defaults.serverId;
        }

        @CustomType.Setter
        public Builder serverId(String serverId) {
            if (serverId == null) {
              throw new MissingRequiredPropertyException("ServerInfoResponse", "serverId");
            }
            this.serverId = serverId;
            return this;
        }
        public ServerInfoResponse build() {
            final var _resultValue = new ServerInfoResponse();
            _resultValue.serverId = serverId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy