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

com.pulumi.azurenative.dbformariadb.inputs.PrivateLinkServiceConnectionStatePropertyArgs 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.dbformariadb.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 PrivateLinkServiceConnectionStatePropertyArgs extends com.pulumi.resources.ResourceArgs {

    public static final PrivateLinkServiceConnectionStatePropertyArgs Empty = new PrivateLinkServiceConnectionStatePropertyArgs();

    /**
     * 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 PrivateLinkServiceConnectionStatePropertyArgs() {}

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

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

    public static final class Builder {
        private PrivateLinkServiceConnectionStatePropertyArgs $;

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

        public Builder(PrivateLinkServiceConnectionStatePropertyArgs defaults) {
            $ = new PrivateLinkServiceConnectionStatePropertyArgs(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 PrivateLinkServiceConnectionStatePropertyArgs build() {
            if ($.description == null) {
                throw new MissingRequiredPropertyException("PrivateLinkServiceConnectionStatePropertyArgs", "description");
            }
            if ($.status == null) {
                throw new MissingRequiredPropertyException("PrivateLinkServiceConnectionStatePropertyArgs", "status");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy