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

com.pulumi.azurenative.awsconnector.inputs.DaxClusterEndpointArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.awsconnector.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Definition of Endpoint
 * 
 */
public final class DaxClusterEndpointArgs extends com.pulumi.resources.ResourceArgs {

    public static final DaxClusterEndpointArgs Empty = new DaxClusterEndpointArgs();

    /**
     * <p>The DNS hostname of the endpoint.</p>
     * 
     */
    @Import(name="address")
    private @Nullable Output address;

    /**
     * @return <p>The DNS hostname of the endpoint.</p>
     * 
     */
    public Optional> address() {
        return Optional.ofNullable(this.address);
    }

    /**
     * <p>The port number that applications should use to connect to the endpoint.</p>
     * 
     */
    @Import(name="port")
    private @Nullable Output port;

    /**
     * @return <p>The port number that applications should use to connect to the endpoint.</p>
     * 
     */
    public Optional> port() {
        return Optional.ofNullable(this.port);
    }

    /**
     * <p>The URL that applications should use to connect to the endpoint. The default ports are 8111 for the 'dax' protocol and 9111 for the 'daxs' protocol.</p>
     * 
     */
    @Import(name="url")
    private @Nullable Output url;

    /**
     * @return <p>The URL that applications should use to connect to the endpoint. The default ports are 8111 for the 'dax' protocol and 9111 for the 'daxs' protocol.</p>
     * 
     */
    public Optional> url() {
        return Optional.ofNullable(this.url);
    }

    private DaxClusterEndpointArgs() {}

    private DaxClusterEndpointArgs(DaxClusterEndpointArgs $) {
        this.address = $.address;
        this.port = $.port;
        this.url = $.url;
    }

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

    public static final class Builder {
        private DaxClusterEndpointArgs $;

        public Builder() {
            $ = new DaxClusterEndpointArgs();
        }

        public Builder(DaxClusterEndpointArgs defaults) {
            $ = new DaxClusterEndpointArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param address <p>The DNS hostname of the endpoint.</p>
         * 
         * @return builder
         * 
         */
        public Builder address(@Nullable Output address) {
            $.address = address;
            return this;
        }

        /**
         * @param address <p>The DNS hostname of the endpoint.</p>
         * 
         * @return builder
         * 
         */
        public Builder address(String address) {
            return address(Output.of(address));
        }

        /**
         * @param port <p>The port number that applications should use to connect to the endpoint.</p>
         * 
         * @return builder
         * 
         */
        public Builder port(@Nullable Output port) {
            $.port = port;
            return this;
        }

        /**
         * @param port <p>The port number that applications should use to connect to the endpoint.</p>
         * 
         * @return builder
         * 
         */
        public Builder port(Integer port) {
            return port(Output.of(port));
        }

        /**
         * @param url <p>The URL that applications should use to connect to the endpoint. The default ports are 8111 for the 'dax' protocol and 9111 for the 'daxs' protocol.</p>
         * 
         * @return builder
         * 
         */
        public Builder url(@Nullable Output url) {
            $.url = url;
            return this;
        }

        /**
         * @param url <p>The URL that applications should use to connect to the endpoint. The default ports are 8111 for the 'dax' protocol and 9111 for the 'daxs' protocol.</p>
         * 
         * @return builder
         * 
         */
        public Builder url(String url) {
            return url(Output.of(url));
        }

        public DaxClusterEndpointArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy