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

com.pulumi.azurenative.servicelinker.outputs.SelfHostedServerResponse Maven / Gradle / Ivy

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

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class SelfHostedServerResponse {
    /**
     * @return The endpoint of service.
     * 
     */
    private @Nullable String endpoint;
    /**
     * @return The target service type.
     * Expected value is 'SelfHostedServer'.
     * 
     */
    private String type;

    private SelfHostedServerResponse() {}
    /**
     * @return The endpoint of service.
     * 
     */
    public Optional endpoint() {
        return Optional.ofNullable(this.endpoint);
    }
    /**
     * @return The target service type.
     * Expected value is 'SelfHostedServer'.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(SelfHostedServerResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String endpoint;
        private String type;
        public Builder() {}
        public Builder(SelfHostedServerResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.endpoint = defaults.endpoint;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder endpoint(@Nullable String endpoint) {

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy