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

com.pulumi.azurenative.search.inputs.SharedPrivateLinkResourcePropertiesArgs Maven / Gradle / Ivy

// *** 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.search.inputs;

import com.pulumi.azurenative.search.enums.SharedPrivateLinkResourceProvisioningState;
import com.pulumi.azurenative.search.enums.SharedPrivateLinkResourceStatus;
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;


/**
 * Describes the properties of an existing Shared Private Link Resource managed by the Azure Cognitive Search service.
 * 
 */
public final class SharedPrivateLinkResourcePropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final SharedPrivateLinkResourcePropertiesArgs Empty = new SharedPrivateLinkResourcePropertiesArgs();

    /**
     * The group id from the provider of resource the shared private link resource is for.
     * 
     */
    @Import(name="groupId")
    private @Nullable Output groupId;

    /**
     * @return The group id from the provider of resource the shared private link resource is for.
     * 
     */
    public Optional> groupId() {
        return Optional.ofNullable(this.groupId);
    }

    /**
     * The resource id of the resource the shared private link resource is for.
     * 
     */
    @Import(name="privateLinkResourceId")
    private @Nullable Output privateLinkResourceId;

    /**
     * @return The resource id of the resource the shared private link resource is for.
     * 
     */
    public Optional> privateLinkResourceId() {
        return Optional.ofNullable(this.privateLinkResourceId);
    }

    /**
     * The provisioning state of the shared private link resource. Can be Updating, Deleting, Failed, Succeeded or Incomplete.
     * 
     */
    @Import(name="provisioningState")
    private @Nullable Output provisioningState;

    /**
     * @return The provisioning state of the shared private link resource. Can be Updating, Deleting, Failed, Succeeded or Incomplete.
     * 
     */
    public Optional> provisioningState() {
        return Optional.ofNullable(this.provisioningState);
    }

    /**
     * The request message for requesting approval of the shared private link resource.
     * 
     */
    @Import(name="requestMessage")
    private @Nullable Output requestMessage;

    /**
     * @return The request message for requesting approval of the shared private link resource.
     * 
     */
    public Optional> requestMessage() {
        return Optional.ofNullable(this.requestMessage);
    }

    /**
     * Optional. Can be used to specify the Azure Resource Manager location of the resource to which a shared private link is to be created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service).
     * 
     */
    @Import(name="resourceRegion")
    private @Nullable Output resourceRegion;

    /**
     * @return Optional. Can be used to specify the Azure Resource Manager location of the resource to which a shared private link is to be created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service).
     * 
     */
    public Optional> resourceRegion() {
        return Optional.ofNullable(this.resourceRegion);
    }

    /**
     * Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    private SharedPrivateLinkResourcePropertiesArgs() {}

    private SharedPrivateLinkResourcePropertiesArgs(SharedPrivateLinkResourcePropertiesArgs $) {
        this.groupId = $.groupId;
        this.privateLinkResourceId = $.privateLinkResourceId;
        this.provisioningState = $.provisioningState;
        this.requestMessage = $.requestMessage;
        this.resourceRegion = $.resourceRegion;
        this.status = $.status;
    }

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

    public static final class Builder {
        private SharedPrivateLinkResourcePropertiesArgs $;

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

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

        /**
         * @param groupId The group id from the provider of resource the shared private link resource is for.
         * 
         * @return builder
         * 
         */
        public Builder groupId(@Nullable Output groupId) {
            $.groupId = groupId;
            return this;
        }

        /**
         * @param groupId The group id from the provider of resource the shared private link resource is for.
         * 
         * @return builder
         * 
         */
        public Builder groupId(String groupId) {
            return groupId(Output.of(groupId));
        }

        /**
         * @param privateLinkResourceId The resource id of the resource the shared private link resource is for.
         * 
         * @return builder
         * 
         */
        public Builder privateLinkResourceId(@Nullable Output privateLinkResourceId) {
            $.privateLinkResourceId = privateLinkResourceId;
            return this;
        }

        /**
         * @param privateLinkResourceId The resource id of the resource the shared private link resource is for.
         * 
         * @return builder
         * 
         */
        public Builder privateLinkResourceId(String privateLinkResourceId) {
            return privateLinkResourceId(Output.of(privateLinkResourceId));
        }

        /**
         * @param provisioningState The provisioning state of the shared private link resource. Can be Updating, Deleting, Failed, Succeeded or Incomplete.
         * 
         * @return builder
         * 
         */
        public Builder provisioningState(@Nullable Output provisioningState) {
            $.provisioningState = provisioningState;
            return this;
        }

        /**
         * @param provisioningState The provisioning state of the shared private link resource. Can be Updating, Deleting, Failed, Succeeded or Incomplete.
         * 
         * @return builder
         * 
         */
        public Builder provisioningState(SharedPrivateLinkResourceProvisioningState provisioningState) {
            return provisioningState(Output.of(provisioningState));
        }

        /**
         * @param requestMessage The request message for requesting approval of the shared private link resource.
         * 
         * @return builder
         * 
         */
        public Builder requestMessage(@Nullable Output requestMessage) {
            $.requestMessage = requestMessage;
            return this;
        }

        /**
         * @param requestMessage The request message for requesting approval of the shared private link resource.
         * 
         * @return builder
         * 
         */
        public Builder requestMessage(String requestMessage) {
            return requestMessage(Output.of(requestMessage));
        }

        /**
         * @param resourceRegion Optional. Can be used to specify the Azure Resource Manager location of the resource to which a shared private link is to be created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service).
         * 
         * @return builder
         * 
         */
        public Builder resourceRegion(@Nullable Output resourceRegion) {
            $.resourceRegion = resourceRegion;
            return this;
        }

        /**
         * @param resourceRegion Optional. Can be used to specify the Azure Resource Manager location of the resource to which a shared private link is to be created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service).
         * 
         * @return builder
         * 
         */
        public Builder resourceRegion(String resourceRegion) {
            return resourceRegion(Output.of(resourceRegion));
        }

        /**
         * @param status Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected.
         * 
         * @return builder
         * 
         */
        public Builder status(SharedPrivateLinkResourceStatus status) {
            return status(Output.of(status));
        }

        public SharedPrivateLinkResourcePropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy