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

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

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


/**
 * A grouping of information about the connection to the remote resource.
 * 
 */
public final class PrivateLinkServiceConnectionArgs extends com.pulumi.resources.ResourceArgs {

    public static final PrivateLinkServiceConnectionArgs Empty = new PrivateLinkServiceConnectionArgs();

    /**
     * The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.
     * 
     */
    @Import(name="groupIds")
    private @Nullable Output> groupIds;

    /**
     * @return The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.
     * 
     */
    public Optional>> groupIds() {
        return Optional.ofNullable(this.groupIds);
    }

    /**
     * The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.
     * 
     */
    @Import(name="privateLinkServiceId")
    private @Nullable Output privateLinkServiceId;

    /**
     * @return The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.
     * 
     */
    public Optional> privateLinkServiceId() {
        return Optional.ofNullable(this.privateLinkServiceId);
    }

    private PrivateLinkServiceConnectionArgs() {}

    private PrivateLinkServiceConnectionArgs(PrivateLinkServiceConnectionArgs $) {
        this.groupIds = $.groupIds;
        this.privateLinkServiceId = $.privateLinkServiceId;
    }

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

    public static final class Builder {
        private PrivateLinkServiceConnectionArgs $;

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

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

        /**
         * @param groupIds The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.
         * 
         * @return builder
         * 
         */
        public Builder groupIds(@Nullable Output> groupIds) {
            $.groupIds = groupIds;
            return this;
        }

        /**
         * @param groupIds The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.
         * 
         * @return builder
         * 
         */
        public Builder groupIds(List groupIds) {
            return groupIds(Output.of(groupIds));
        }

        /**
         * @param groupIds The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.
         * 
         * @return builder
         * 
         */
        public Builder groupIds(String... groupIds) {
            return groupIds(List.of(groupIds));
        }

        /**
         * @param privateLinkServiceId The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.
         * 
         * @return builder
         * 
         */
        public Builder privateLinkServiceId(@Nullable Output privateLinkServiceId) {
            $.privateLinkServiceId = privateLinkServiceId;
            return this;
        }

        /**
         * @param privateLinkServiceId The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.
         * 
         * @return builder
         * 
         */
        public Builder privateLinkServiceId(String privateLinkServiceId) {
            return privateLinkServiceId(Output.of(privateLinkServiceId));
        }

        public PrivateLinkServiceConnectionArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy