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

com.pulumi.azurenative.analysisservices.outputs.GatewayDetailsResponse Maven / Gradle / Ivy

The 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.analysisservices.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 GatewayDetailsResponse {
    /**
     * @return Uri of the DMTS cluster.
     * 
     */
    private String dmtsClusterUri;
    /**
     * @return Gateway object id from in the DMTS cluster for the gateway resource.
     * 
     */
    private String gatewayObjectId;
    /**
     * @return Gateway resource to be associated with the server.
     * 
     */
    private @Nullable String gatewayResourceId;

    private GatewayDetailsResponse() {}
    /**
     * @return Uri of the DMTS cluster.
     * 
     */
    public String dmtsClusterUri() {
        return this.dmtsClusterUri;
    }
    /**
     * @return Gateway object id from in the DMTS cluster for the gateway resource.
     * 
     */
    public String gatewayObjectId() {
        return this.gatewayObjectId;
    }
    /**
     * @return Gateway resource to be associated with the server.
     * 
     */
    public Optional gatewayResourceId() {
        return Optional.ofNullable(this.gatewayResourceId);
    }

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

    public static Builder builder(GatewayDetailsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String dmtsClusterUri;
        private String gatewayObjectId;
        private @Nullable String gatewayResourceId;
        public Builder() {}
        public Builder(GatewayDetailsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dmtsClusterUri = defaults.dmtsClusterUri;
    	      this.gatewayObjectId = defaults.gatewayObjectId;
    	      this.gatewayResourceId = defaults.gatewayResourceId;
        }

        @CustomType.Setter
        public Builder dmtsClusterUri(String dmtsClusterUri) {
            if (dmtsClusterUri == null) {
              throw new MissingRequiredPropertyException("GatewayDetailsResponse", "dmtsClusterUri");
            }
            this.dmtsClusterUri = dmtsClusterUri;
            return this;
        }
        @CustomType.Setter
        public Builder gatewayObjectId(String gatewayObjectId) {
            if (gatewayObjectId == null) {
              throw new MissingRequiredPropertyException("GatewayDetailsResponse", "gatewayObjectId");
            }
            this.gatewayObjectId = gatewayObjectId;
            return this;
        }
        @CustomType.Setter
        public Builder gatewayResourceId(@Nullable String gatewayResourceId) {

            this.gatewayResourceId = gatewayResourceId;
            return this;
        }
        public GatewayDetailsResponse build() {
            final var _resultValue = new GatewayDetailsResponse();
            _resultValue.dmtsClusterUri = dmtsClusterUri;
            _resultValue.gatewayObjectId = gatewayObjectId;
            _resultValue.gatewayResourceId = gatewayResourceId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy