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

com.pulumi.cloudamqp.inputs.PrivatelinkAzureState 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.cloudamqp.inputs;

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


public final class PrivatelinkAzureState extends com.pulumi.resources.ResourceArgs {

    public static final PrivatelinkAzureState Empty = new PrivatelinkAzureState();

    /**
     * Approved subscriptions to access the endpoint service.
     * See format below.
     * 
     */
    @Import(name="approvedSubscriptions")
    private @Nullable Output> approvedSubscriptions;

    /**
     * @return Approved subscriptions to access the endpoint service.
     * See format below.
     * 
     */
    public Optional>> approvedSubscriptions() {
        return Optional.ofNullable(this.approvedSubscriptions);
    }

    /**
     * The CloudAMQP instance identifier.
     * 
     */
    @Import(name="instanceId")
    private @Nullable Output instanceId;

    /**
     * @return The CloudAMQP instance identifier.
     * 
     */
    public Optional> instanceId() {
        return Optional.ofNullable(this.instanceId);
    }

    /**
     * Name of the server having the PrivateLink enabled.
     * 
     */
    @Import(name="serverName")
    private @Nullable Output serverName;

    /**
     * @return Name of the server having the PrivateLink enabled.
     * 
     */
    public Optional> serverName() {
        return Optional.ofNullable(this.serverName);
    }

    /**
     * Service name (alias) of the PrivateLink, needed when creating the endpoint.
     * 
     */
    @Import(name="serviceName")
    private @Nullable Output serviceName;

    /**
     * @return Service name (alias) of the PrivateLink, needed when creating the endpoint.
     * 
     */
    public Optional> serviceName() {
        return Optional.ofNullable(this.serviceName);
    }

    /**
     * Configurable sleep time (seconds) when enable PrivateLink.
     * Default set to 10 seconds. *Available from v1.29.0*
     * 
     */
    @Import(name="sleep")
    private @Nullable Output sleep;

    /**
     * @return Configurable sleep time (seconds) when enable PrivateLink.
     * Default set to 10 seconds. *Available from v1.29.0*
     * 
     */
    public Optional> sleep() {
        return Optional.ofNullable(this.sleep);
    }

    /**
     * PrivateLink status [enable, pending, disable]
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return PrivateLink status [enable, pending, disable]
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * Configurable timeout time (seconds) when enable PrivateLink.
     * Default set to 1800 seconds. *Available from v1.29.0*
     * 
     * Approved subscriptions format (GUID): <br>
     * `XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX`
     * 
     */
    @Import(name="timeout")
    private @Nullable Output timeout;

    /**
     * @return Configurable timeout time (seconds) when enable PrivateLink.
     * Default set to 1800 seconds. *Available from v1.29.0*
     * 
     * Approved subscriptions format (GUID): <br>
     * `XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX`
     * 
     */
    public Optional> timeout() {
        return Optional.ofNullable(this.timeout);
    }

    private PrivatelinkAzureState() {}

    private PrivatelinkAzureState(PrivatelinkAzureState $) {
        this.approvedSubscriptions = $.approvedSubscriptions;
        this.instanceId = $.instanceId;
        this.serverName = $.serverName;
        this.serviceName = $.serviceName;
        this.sleep = $.sleep;
        this.status = $.status;
        this.timeout = $.timeout;
    }

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

    public static final class Builder {
        private PrivatelinkAzureState $;

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

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

        /**
         * @param approvedSubscriptions Approved subscriptions to access the endpoint service.
         * See format below.
         * 
         * @return builder
         * 
         */
        public Builder approvedSubscriptions(@Nullable Output> approvedSubscriptions) {
            $.approvedSubscriptions = approvedSubscriptions;
            return this;
        }

        /**
         * @param approvedSubscriptions Approved subscriptions to access the endpoint service.
         * See format below.
         * 
         * @return builder
         * 
         */
        public Builder approvedSubscriptions(List approvedSubscriptions) {
            return approvedSubscriptions(Output.of(approvedSubscriptions));
        }

        /**
         * @param approvedSubscriptions Approved subscriptions to access the endpoint service.
         * See format below.
         * 
         * @return builder
         * 
         */
        public Builder approvedSubscriptions(String... approvedSubscriptions) {
            return approvedSubscriptions(List.of(approvedSubscriptions));
        }

        /**
         * @param instanceId The CloudAMQP instance identifier.
         * 
         * @return builder
         * 
         */
        public Builder instanceId(@Nullable Output instanceId) {
            $.instanceId = instanceId;
            return this;
        }

        /**
         * @param instanceId The CloudAMQP instance identifier.
         * 
         * @return builder
         * 
         */
        public Builder instanceId(Integer instanceId) {
            return instanceId(Output.of(instanceId));
        }

        /**
         * @param serverName Name of the server having the PrivateLink enabled.
         * 
         * @return builder
         * 
         */
        public Builder serverName(@Nullable Output serverName) {
            $.serverName = serverName;
            return this;
        }

        /**
         * @param serverName Name of the server having the PrivateLink enabled.
         * 
         * @return builder
         * 
         */
        public Builder serverName(String serverName) {
            return serverName(Output.of(serverName));
        }

        /**
         * @param serviceName Service name (alias) of the PrivateLink, needed when creating the endpoint.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(@Nullable Output serviceName) {
            $.serviceName = serviceName;
            return this;
        }

        /**
         * @param serviceName Service name (alias) of the PrivateLink, needed when creating the endpoint.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(String serviceName) {
            return serviceName(Output.of(serviceName));
        }

        /**
         * @param sleep Configurable sleep time (seconds) when enable PrivateLink.
         * Default set to 10 seconds. *Available from v1.29.0*
         * 
         * @return builder
         * 
         */
        public Builder sleep(@Nullable Output sleep) {
            $.sleep = sleep;
            return this;
        }

        /**
         * @param sleep Configurable sleep time (seconds) when enable PrivateLink.
         * Default set to 10 seconds. *Available from v1.29.0*
         * 
         * @return builder
         * 
         */
        public Builder sleep(Integer sleep) {
            return sleep(Output.of(sleep));
        }

        /**
         * @param status PrivateLink status [enable, pending, disable]
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status PrivateLink status [enable, pending, disable]
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        /**
         * @param timeout Configurable timeout time (seconds) when enable PrivateLink.
         * Default set to 1800 seconds. *Available from v1.29.0*
         * 
         * Approved subscriptions format (GUID): <br>
         * `XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX`
         * 
         * @return builder
         * 
         */
        public Builder timeout(@Nullable Output timeout) {
            $.timeout = timeout;
            return this;
        }

        /**
         * @param timeout Configurable timeout time (seconds) when enable PrivateLink.
         * Default set to 1800 seconds. *Available from v1.29.0*
         * 
         * Approved subscriptions format (GUID): <br>
         * `XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX`
         * 
         * @return builder
         * 
         */
        public Builder timeout(Integer timeout) {
            return timeout(Output.of(timeout));
        }

        public PrivatelinkAzureState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy