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

com.pulumi.azurenative.storage.outputs.EndpointsResponse 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.storage.outputs;

import com.pulumi.azurenative.storage.outputs.StorageAccountInternetEndpointsResponse;
import com.pulumi.azurenative.storage.outputs.StorageAccountMicrosoftEndpointsResponse;
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 EndpointsResponse {
    /**
     * @return Gets the blob endpoint.
     * 
     */
    private String blob;
    /**
     * @return Gets the dfs endpoint.
     * 
     */
    private String dfs;
    /**
     * @return Gets the file endpoint.
     * 
     */
    private String file;
    /**
     * @return Gets the internet routing storage endpoints
     * 
     */
    private @Nullable StorageAccountInternetEndpointsResponse internetEndpoints;
    /**
     * @return Gets the microsoft routing storage endpoints.
     * 
     */
    private @Nullable StorageAccountMicrosoftEndpointsResponse microsoftEndpoints;
    /**
     * @return Gets the queue endpoint.
     * 
     */
    private String queue;
    /**
     * @return Gets the table endpoint.
     * 
     */
    private String table;
    /**
     * @return Gets the web endpoint.
     * 
     */
    private String web;

    private EndpointsResponse() {}
    /**
     * @return Gets the blob endpoint.
     * 
     */
    public String blob() {
        return this.blob;
    }
    /**
     * @return Gets the dfs endpoint.
     * 
     */
    public String dfs() {
        return this.dfs;
    }
    /**
     * @return Gets the file endpoint.
     * 
     */
    public String file() {
        return this.file;
    }
    /**
     * @return Gets the internet routing storage endpoints
     * 
     */
    public Optional internetEndpoints() {
        return Optional.ofNullable(this.internetEndpoints);
    }
    /**
     * @return Gets the microsoft routing storage endpoints.
     * 
     */
    public Optional microsoftEndpoints() {
        return Optional.ofNullable(this.microsoftEndpoints);
    }
    /**
     * @return Gets the queue endpoint.
     * 
     */
    public String queue() {
        return this.queue;
    }
    /**
     * @return Gets the table endpoint.
     * 
     */
    public String table() {
        return this.table;
    }
    /**
     * @return Gets the web endpoint.
     * 
     */
    public String web() {
        return this.web;
    }

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

    public static Builder builder(EndpointsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String blob;
        private String dfs;
        private String file;
        private @Nullable StorageAccountInternetEndpointsResponse internetEndpoints;
        private @Nullable StorageAccountMicrosoftEndpointsResponse microsoftEndpoints;
        private String queue;
        private String table;
        private String web;
        public Builder() {}
        public Builder(EndpointsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.blob = defaults.blob;
    	      this.dfs = defaults.dfs;
    	      this.file = defaults.file;
    	      this.internetEndpoints = defaults.internetEndpoints;
    	      this.microsoftEndpoints = defaults.microsoftEndpoints;
    	      this.queue = defaults.queue;
    	      this.table = defaults.table;
    	      this.web = defaults.web;
        }

        @CustomType.Setter
        public Builder blob(String blob) {
            if (blob == null) {
              throw new MissingRequiredPropertyException("EndpointsResponse", "blob");
            }
            this.blob = blob;
            return this;
        }
        @CustomType.Setter
        public Builder dfs(String dfs) {
            if (dfs == null) {
              throw new MissingRequiredPropertyException("EndpointsResponse", "dfs");
            }
            this.dfs = dfs;
            return this;
        }
        @CustomType.Setter
        public Builder file(String file) {
            if (file == null) {
              throw new MissingRequiredPropertyException("EndpointsResponse", "file");
            }
            this.file = file;
            return this;
        }
        @CustomType.Setter
        public Builder internetEndpoints(@Nullable StorageAccountInternetEndpointsResponse internetEndpoints) {

            this.internetEndpoints = internetEndpoints;
            return this;
        }
        @CustomType.Setter
        public Builder microsoftEndpoints(@Nullable StorageAccountMicrosoftEndpointsResponse microsoftEndpoints) {

            this.microsoftEndpoints = microsoftEndpoints;
            return this;
        }
        @CustomType.Setter
        public Builder queue(String queue) {
            if (queue == null) {
              throw new MissingRequiredPropertyException("EndpointsResponse", "queue");
            }
            this.queue = queue;
            return this;
        }
        @CustomType.Setter
        public Builder table(String table) {
            if (table == null) {
              throw new MissingRequiredPropertyException("EndpointsResponse", "table");
            }
            this.table = table;
            return this;
        }
        @CustomType.Setter
        public Builder web(String web) {
            if (web == null) {
              throw new MissingRequiredPropertyException("EndpointsResponse", "web");
            }
            this.web = web;
            return this;
        }
        public EndpointsResponse build() {
            final var _resultValue = new EndpointsResponse();
            _resultValue.blob = blob;
            _resultValue.dfs = dfs;
            _resultValue.file = file;
            _resultValue.internetEndpoints = internetEndpoints;
            _resultValue.microsoftEndpoints = microsoftEndpoints;
            _resultValue.queue = queue;
            _resultValue.table = table;
            _resultValue.web = web;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy