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

com.pulumi.azurenative.documentdb.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.documentdb.inputs;

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


/**
 * Connection State of the Private Endpoint Connection.
 * 
 */
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")
    private @Nullable Output description;

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

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

    /**
     * @return The private link service connection status.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(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(@Nullable 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(@Nullable 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() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy