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

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

import com.pulumi.azurenative.notificationhubs.enums.PrivateLinkConnectionStatus;
import com.pulumi.core.Either;
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;


/**
 * State of the Private Link Service connection.
 * 
 */
public final class RemotePrivateLinkServiceConnectionStateArgs extends com.pulumi.resources.ResourceArgs {

    public static final RemotePrivateLinkServiceConnectionStateArgs Empty = new RemotePrivateLinkServiceConnectionStateArgs();

    /**
     * State of Private Link Connection.
     * 
     */
    @Import(name="status")
    private @Nullable Output> status;

    /**
     * @return State of Private Link Connection.
     * 
     */
    public Optional>> status() {
        return Optional.ofNullable(this.status);
    }

    private RemotePrivateLinkServiceConnectionStateArgs() {}

    private RemotePrivateLinkServiceConnectionStateArgs(RemotePrivateLinkServiceConnectionStateArgs $) {
        this.status = $.status;
    }

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

    public static final class Builder {
        private RemotePrivateLinkServiceConnectionStateArgs $;

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

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

        /**
         * @param status State of Private Link Connection.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output> status) {
            $.status = status;
            return this;
        }

        /**
         * @param status State of Private Link Connection.
         * 
         * @return builder
         * 
         */
        public Builder status(Either status) {
            return status(Output.of(status));
        }

        /**
         * @param status State of Private Link Connection.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Either.ofLeft(status));
        }

        /**
         * @param status State of Private Link Connection.
         * 
         * @return builder
         * 
         */
        public Builder status(PrivateLinkConnectionStatus status) {
            return status(Either.ofRight(status));
        }

        public RemotePrivateLinkServiceConnectionStateArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy