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

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

import com.pulumi.azurenative.datafactory.inputs.PrivateEndpointArgs;
import com.pulumi.azurenative.datafactory.inputs.PrivateLinkConnectionStateArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * A request to approve or reject a private endpoint connection
 * 
 */
public final class PrivateLinkConnectionApprovalRequestArgs extends com.pulumi.resources.ResourceArgs {

    public static final PrivateLinkConnectionApprovalRequestArgs Empty = new PrivateLinkConnectionApprovalRequestArgs();

    /**
     * The resource of private endpoint.
     * 
     */
    @Import(name="privateEndpoint")
    private @Nullable Output privateEndpoint;

    /**
     * @return The resource of private endpoint.
     * 
     */
    public Optional> privateEndpoint() {
        return Optional.ofNullable(this.privateEndpoint);
    }

    /**
     * The state of a private link connection
     * 
     */
    @Import(name="privateLinkServiceConnectionState")
    private @Nullable Output privateLinkServiceConnectionState;

    /**
     * @return The state of a private link connection
     * 
     */
    public Optional> privateLinkServiceConnectionState() {
        return Optional.ofNullable(this.privateLinkServiceConnectionState);
    }

    private PrivateLinkConnectionApprovalRequestArgs() {}

    private PrivateLinkConnectionApprovalRequestArgs(PrivateLinkConnectionApprovalRequestArgs $) {
        this.privateEndpoint = $.privateEndpoint;
        this.privateLinkServiceConnectionState = $.privateLinkServiceConnectionState;
    }

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

    public static final class Builder {
        private PrivateLinkConnectionApprovalRequestArgs $;

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

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

        /**
         * @param privateEndpoint The resource of private endpoint.
         * 
         * @return builder
         * 
         */
        public Builder privateEndpoint(@Nullable Output privateEndpoint) {
            $.privateEndpoint = privateEndpoint;
            return this;
        }

        /**
         * @param privateEndpoint The resource of private endpoint.
         * 
         * @return builder
         * 
         */
        public Builder privateEndpoint(PrivateEndpointArgs privateEndpoint) {
            return privateEndpoint(Output.of(privateEndpoint));
        }

        /**
         * @param privateLinkServiceConnectionState The state of a private link connection
         * 
         * @return builder
         * 
         */
        public Builder privateLinkServiceConnectionState(@Nullable Output privateLinkServiceConnectionState) {
            $.privateLinkServiceConnectionState = privateLinkServiceConnectionState;
            return this;
        }

        /**
         * @param privateLinkServiceConnectionState The state of a private link connection
         * 
         * @return builder
         * 
         */
        public Builder privateLinkServiceConnectionState(PrivateLinkConnectionStateArgs privateLinkServiceConnectionState) {
            return privateLinkServiceConnectionState(Output.of(privateLinkServiceConnectionState));
        }

        public PrivateLinkConnectionApprovalRequestArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy