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

com.pulumi.azurenative.search.outputs.SharedPrivateLinkResourcePropertiesResponse 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.outputs;

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

@CustomType
public final class SharedPrivateLinkResourcePropertiesResponse {
    /**
     * @return The group id from the provider of resource the shared private link resource is for.
     * 
     */
    private @Nullable String groupId;
    /**
     * @return The resource id of the resource the shared private link resource is for.
     * 
     */
    private @Nullable String privateLinkResourceId;
    /**
     * @return The provisioning state of the shared private link resource. Can be Updating, Deleting, Failed, Succeeded or Incomplete.
     * 
     */
    private @Nullable String provisioningState;
    /**
     * @return The request message for requesting approval of the shared private link resource.
     * 
     */
    private @Nullable String requestMessage;
    /**
     * @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).
     * 
     */
    private @Nullable String resourceRegion;
    /**
     * @return Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected.
     * 
     */
    private @Nullable String status;

    private SharedPrivateLinkResourcePropertiesResponse() {}
    /**
     * @return The group id from the provider of resource the shared private link resource is for.
     * 
     */
    public Optional groupId() {
        return Optional.ofNullable(this.groupId);
    }
    /**
     * @return The resource id of the resource the shared private link resource is for.
     * 
     */
    public Optional privateLinkResourceId() {
        return Optional.ofNullable(this.privateLinkResourceId);
    }
    /**
     * @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);
    }
    /**
     * @return The request message for requesting approval of the shared private link resource.
     * 
     */
    public Optional requestMessage() {
        return Optional.ofNullable(this.requestMessage);
    }
    /**
     * @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);
    }
    /**
     * @return Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected.
     * 
     */
    public Optional status() {
        return Optional.ofNullable(this.status);
    }

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

    public static Builder builder(SharedPrivateLinkResourcePropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String groupId;
        private @Nullable String privateLinkResourceId;
        private @Nullable String provisioningState;
        private @Nullable String requestMessage;
        private @Nullable String resourceRegion;
        private @Nullable String status;
        public Builder() {}
        public Builder(SharedPrivateLinkResourcePropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.groupId = defaults.groupId;
    	      this.privateLinkResourceId = defaults.privateLinkResourceId;
    	      this.provisioningState = defaults.provisioningState;
    	      this.requestMessage = defaults.requestMessage;
    	      this.resourceRegion = defaults.resourceRegion;
    	      this.status = defaults.status;
        }

        @CustomType.Setter
        public Builder groupId(@Nullable String groupId) {

            this.groupId = groupId;
            return this;
        }
        @CustomType.Setter
        public Builder privateLinkResourceId(@Nullable String privateLinkResourceId) {

            this.privateLinkResourceId = privateLinkResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(@Nullable String provisioningState) {

            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder requestMessage(@Nullable String requestMessage) {

            this.requestMessage = requestMessage;
            return this;
        }
        @CustomType.Setter
        public Builder resourceRegion(@Nullable String resourceRegion) {

            this.resourceRegion = resourceRegion;
            return this;
        }
        @CustomType.Setter
        public Builder status(@Nullable String status) {

            this.status = status;
            return this;
        }
        public SharedPrivateLinkResourcePropertiesResponse build() {
            final var _resultValue = new SharedPrivateLinkResourcePropertiesResponse();
            _resultValue.groupId = groupId;
            _resultValue.privateLinkResourceId = privateLinkResourceId;
            _resultValue.provisioningState = provisioningState;
            _resultValue.requestMessage = requestMessage;
            _resultValue.resourceRegion = resourceRegion;
            _resultValue.status = status;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy