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

com.pulumi.azurenative.deviceupdate.inputs.PrivateLinkServiceConnectionArgs Maven / Gradle / Ivy

The 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.deviceupdate.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;


/**
 * Private link service connection details.
 * 
 */
public final class PrivateLinkServiceConnectionArgs extends com.pulumi.resources.ResourceArgs {

    public static final PrivateLinkServiceConnectionArgs Empty = new PrivateLinkServiceConnectionArgs();

    /**
     * List of group IDs.
     * 
     */
    @Import(name="groupIds")
    private @Nullable Output> groupIds;

    /**
     * @return List of group IDs.
     * 
     */
    public Optional>> groupIds() {
        return Optional.ofNullable(this.groupIds);
    }

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

    /**
     * @return Private link service connection name.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Request message.
     * 
     */
    @Import(name="requestMessage")
    private @Nullable Output requestMessage;

    /**
     * @return Request message.
     * 
     */
    public Optional> requestMessage() {
        return Optional.ofNullable(this.requestMessage);
    }

    private PrivateLinkServiceConnectionArgs() {}

    private PrivateLinkServiceConnectionArgs(PrivateLinkServiceConnectionArgs $) {
        this.groupIds = $.groupIds;
        this.name = $.name;
        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 List of group IDs.
         * 
         * @return builder
         * 
         */
        public Builder groupIds(@Nullable Output> groupIds) {
            $.groupIds = groupIds;
            return this;
        }

        /**
         * @param groupIds List of group IDs.
         * 
         * @return builder
         * 
         */
        public Builder groupIds(List groupIds) {
            return groupIds(Output.of(groupIds));
        }

        /**
         * @param groupIds List of group IDs.
         * 
         * @return builder
         * 
         */
        public Builder groupIds(String... groupIds) {
            return groupIds(List.of(groupIds));
        }

        /**
         * @param name Private link service connection name.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Private link service connection name.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param requestMessage Request message.
         * 
         * @return builder
         * 
         */
        public Builder requestMessage(@Nullable Output requestMessage) {
            $.requestMessage = requestMessage;
            return this;
        }

        /**
         * @param requestMessage Request message.
         * 
         * @return builder
         * 
         */
        public Builder requestMessage(String requestMessage) {
            return requestMessage(Output.of(requestMessage));
        }

        public PrivateLinkServiceConnectionArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy