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

com.pulumi.azurenative.sql.inputs.ManagedInstancePrivateLinkServiceConnectionStatePropertyArgs Maven / Gradle / Ivy

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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final ManagedInstancePrivateLinkServiceConnectionStatePropertyArgs Empty = new ManagedInstancePrivateLinkServiceConnectionStatePropertyArgs();

    /**
     * The private link service connection description.
     * 
     */
    @Import(name="description", required=true)
    private Output description;

    /**
     * @return The private link service connection description.
     * 
     */
    public Output description() {
        return this.description;
    }

    /**
     * The private link service connection status.
     * 
     */
    @Import(name="status", required=true)
    private Output status;

    /**
     * @return The private link service connection status.
     * 
     */
    public Output status() {
        return this.status;
    }

    private ManagedInstancePrivateLinkServiceConnectionStatePropertyArgs() {}

    private ManagedInstancePrivateLinkServiceConnectionStatePropertyArgs(ManagedInstancePrivateLinkServiceConnectionStatePropertyArgs $) {
        this.description = $.description;
        this.status = $.status;
    }

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

    public static final class Builder {
        private ManagedInstancePrivateLinkServiceConnectionStatePropertyArgs $;

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

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

        /**
         * @param description The private link service connection description.
         * 
         * @return builder
         * 
         */
        public Builder description(Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The private link service connection description.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param status The private link service connection status.
         * 
         * @return builder
         * 
         */
        public Builder status(Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status The private link service connection status.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        public ManagedInstancePrivateLinkServiceConnectionStatePropertyArgs build() {
            if ($.description == null) {
                throw new MissingRequiredPropertyException("ManagedInstancePrivateLinkServiceConnectionStatePropertyArgs", "description");
            }
            if ($.status == null) {
                throw new MissingRequiredPropertyException("ManagedInstancePrivateLinkServiceConnectionStatePropertyArgs", "status");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy