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

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

import com.pulumi.azurenative.network.inputs.PrivateLinkServiceConnectionStateArgs;
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;


/**
 * PrivateLinkServiceConnection 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.
     * 
     */
    @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.
     * 
     */
    public Optional>> groupIds() {
        return Optional.ofNullable(this.groupIds);
    }

    /**
     * Resource ID.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return Resource ID.
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * The name of the resource that is unique within a resource group. This name can be used to access the resource.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the resource that is unique within a resource group. This name can be used to access the resource.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * A collection of read-only information about the state of the connection to the remote resource.
     * 
     */
    @Import(name="privateLinkServiceConnectionState")
    private @Nullable Output privateLinkServiceConnectionState;

    /**
     * @return A collection of read-only information about the state of the connection to the remote resource.
     * 
     */
    public Optional> privateLinkServiceConnectionState() {
        return Optional.ofNullable(this.privateLinkServiceConnectionState);
    }

    /**
     * The resource id of private link service.
     * 
     */
    @Import(name="privateLinkServiceId")
    private @Nullable Output privateLinkServiceId;

    /**
     * @return The resource id of private link service.
     * 
     */
    public Optional> privateLinkServiceId() {
        return Optional.ofNullable(this.privateLinkServiceId);
    }

    /**
     * A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
     * 
     */
    @Import(name="requestMessage")
    private @Nullable Output requestMessage;

    /**
     * @return A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
     * 
     */
    public Optional> requestMessage() {
        return Optional.ofNullable(this.requestMessage);
    }

    private PrivateLinkServiceConnectionArgs() {}

    private PrivateLinkServiceConnectionArgs(PrivateLinkServiceConnectionArgs $) {
        this.groupIds = $.groupIds;
        this.id = $.id;
        this.name = $.name;
        this.privateLinkServiceConnectionState = $.privateLinkServiceConnectionState;
        this.privateLinkServiceId = $.privateLinkServiceId;
        this.requestMessage = $.requestMessage;
    }

    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.
         * 
         * @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.
         * 
         * @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.
         * 
         * @return builder
         * 
         */
        public Builder groupIds(String... groupIds) {
            return groupIds(List.of(groupIds));
        }

        /**
         * @param id Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param name The name of the resource that is unique within a resource group. This name can be used to access the resource.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the resource that is unique within a resource group. This name can be used to access the resource.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param privateLinkServiceConnectionState A collection of read-only information about the state of the connection to the remote resource.
         * 
         * @return builder
         * 
         */
        public Builder privateLinkServiceConnectionState(@Nullable Output privateLinkServiceConnectionState) {
            $.privateLinkServiceConnectionState = privateLinkServiceConnectionState;
            return this;
        }

        /**
         * @param privateLinkServiceConnectionState A collection of read-only information about the state of the connection to the remote resource.
         * 
         * @return builder
         * 
         */
        public Builder privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs privateLinkServiceConnectionState) {
            return privateLinkServiceConnectionState(Output.of(privateLinkServiceConnectionState));
        }

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

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

        /**
         * @param requestMessage A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
         * 
         * @return builder
         * 
         */
        public Builder requestMessage(@Nullable Output requestMessage) {
            $.requestMessage = requestMessage;
            return this;
        }

        /**
         * @param requestMessage A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
         * 
         * @return builder
         * 
         */
        public Builder requestMessage(String requestMessage) {
            return requestMessage(Output.of(requestMessage));
        }

        public PrivateLinkServiceConnectionArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy