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

com.pulumi.azurenative.dashboard.outputs.GetManagedPrivateEndpointResult 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.dashboard.outputs;

import com.pulumi.azurenative.dashboard.outputs.ManagedPrivateEndpointConnectionStateResponse;
import com.pulumi.azurenative.dashboard.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetManagedPrivateEndpointResult {
    /**
     * @return The state of managed private endpoint connection.
     * 
     */
    private ManagedPrivateEndpointConnectionStateResponse connectionState;
    /**
     * @return The group Ids of the managed private endpoint.
     * 
     */
    private @Nullable List groupIds;
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    private String id;
    /**
     * @return The geo-location where the resource lives
     * 
     */
    private String location;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return The ARM resource ID of the resource for which the managed private endpoint is pointing to.
     * 
     */
    private @Nullable String privateLinkResourceId;
    /**
     * @return The region of the resource to which the managed private endpoint is pointing to.
     * 
     */
    private @Nullable String privateLinkResourceRegion;
    /**
     * @return The private IP of private endpoint after approval. This property is empty before connection is approved.
     * 
     */
    private String privateLinkServicePrivateIP;
    /**
     * @return The URL of the data store behind the private link service. It would be the URL in the Grafana data source configuration page without the protocol and port.
     * 
     */
    private @Nullable String privateLinkServiceUrl;
    /**
     * @return Provisioning state of the resource.
     * 
     */
    private String provisioningState;
    /**
     * @return User input request message of the managed private endpoint.
     * 
     */
    private @Nullable String requestMessage;
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Resource tags.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;

    private GetManagedPrivateEndpointResult() {}
    /**
     * @return The state of managed private endpoint connection.
     * 
     */
    public ManagedPrivateEndpointConnectionStateResponse connectionState() {
        return this.connectionState;
    }
    /**
     * @return The group Ids of the managed private endpoint.
     * 
     */
    public List groupIds() {
        return this.groupIds == null ? List.of() : this.groupIds;
    }
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The geo-location where the resource lives
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The ARM resource ID of the resource for which the managed private endpoint is pointing to.
     * 
     */
    public Optional privateLinkResourceId() {
        return Optional.ofNullable(this.privateLinkResourceId);
    }
    /**
     * @return The region of the resource to which the managed private endpoint is pointing to.
     * 
     */
    public Optional privateLinkResourceRegion() {
        return Optional.ofNullable(this.privateLinkResourceRegion);
    }
    /**
     * @return The private IP of private endpoint after approval. This property is empty before connection is approved.
     * 
     */
    public String privateLinkServicePrivateIP() {
        return this.privateLinkServicePrivateIP;
    }
    /**
     * @return The URL of the data store behind the private link service. It would be the URL in the Grafana data source configuration page without the protocol and port.
     * 
     */
    public Optional privateLinkServiceUrl() {
        return Optional.ofNullable(this.privateLinkServiceUrl);
    }
    /**
     * @return Provisioning state of the resource.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return User input request message of the managed private endpoint.
     * 
     */
    public Optional requestMessage() {
        return Optional.ofNullable(this.requestMessage);
    }
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Resource tags.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetManagedPrivateEndpointResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private ManagedPrivateEndpointConnectionStateResponse connectionState;
        private @Nullable List groupIds;
        private String id;
        private String location;
        private String name;
        private @Nullable String privateLinkResourceId;
        private @Nullable String privateLinkResourceRegion;
        private String privateLinkServicePrivateIP;
        private @Nullable String privateLinkServiceUrl;
        private String provisioningState;
        private @Nullable String requestMessage;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private String type;
        public Builder() {}
        public Builder(GetManagedPrivateEndpointResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.connectionState = defaults.connectionState;
    	      this.groupIds = defaults.groupIds;
    	      this.id = defaults.id;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.privateLinkResourceId = defaults.privateLinkResourceId;
    	      this.privateLinkResourceRegion = defaults.privateLinkResourceRegion;
    	      this.privateLinkServicePrivateIP = defaults.privateLinkServicePrivateIP;
    	      this.privateLinkServiceUrl = defaults.privateLinkServiceUrl;
    	      this.provisioningState = defaults.provisioningState;
    	      this.requestMessage = defaults.requestMessage;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder connectionState(ManagedPrivateEndpointConnectionStateResponse connectionState) {
            if (connectionState == null) {
              throw new MissingRequiredPropertyException("GetManagedPrivateEndpointResult", "connectionState");
            }
            this.connectionState = connectionState;
            return this;
        }
        @CustomType.Setter
        public Builder groupIds(@Nullable List groupIds) {

            this.groupIds = groupIds;
            return this;
        }
        public Builder groupIds(String... groupIds) {
            return groupIds(List.of(groupIds));
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetManagedPrivateEndpointResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetManagedPrivateEndpointResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetManagedPrivateEndpointResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder privateLinkResourceId(@Nullable String privateLinkResourceId) {

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

            this.privateLinkResourceRegion = privateLinkResourceRegion;
            return this;
        }
        @CustomType.Setter
        public Builder privateLinkServicePrivateIP(String privateLinkServicePrivateIP) {
            if (privateLinkServicePrivateIP == null) {
              throw new MissingRequiredPropertyException("GetManagedPrivateEndpointResult", "privateLinkServicePrivateIP");
            }
            this.privateLinkServicePrivateIP = privateLinkServicePrivateIP;
            return this;
        }
        @CustomType.Setter
        public Builder privateLinkServiceUrl(@Nullable String privateLinkServiceUrl) {

            this.privateLinkServiceUrl = privateLinkServiceUrl;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetManagedPrivateEndpointResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder requestMessage(@Nullable String requestMessage) {

            this.requestMessage = requestMessage;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetManagedPrivateEndpointResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetManagedPrivateEndpointResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetManagedPrivateEndpointResult build() {
            final var _resultValue = new GetManagedPrivateEndpointResult();
            _resultValue.connectionState = connectionState;
            _resultValue.groupIds = groupIds;
            _resultValue.id = id;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.privateLinkResourceId = privateLinkResourceId;
            _resultValue.privateLinkResourceRegion = privateLinkResourceRegion;
            _resultValue.privateLinkServicePrivateIP = privateLinkServicePrivateIP;
            _resultValue.privateLinkServiceUrl = privateLinkServiceUrl;
            _resultValue.provisioningState = provisioningState;
            _resultValue.requestMessage = requestMessage;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy