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

com.pulumi.azurenative.machinelearningservices.outputs.RegistryPrivateEndpointConnectionPropertiesResponse Maven / Gradle / Ivy

There is a newer version: 2.82.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.machinelearningservices.outputs;

import com.pulumi.azurenative.machinelearningservices.outputs.PrivateEndpointResourceResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.RegistryPrivateLinkServiceConnectionStateResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class RegistryPrivateEndpointConnectionPropertiesResponse {
    /**
     * @return The group ids
     * 
     */
    private @Nullable List groupIds;
    /**
     * @return The PE network resource that is linked to this PE connection.
     * 
     */
    private @Nullable PrivateEndpointResourceResponse privateEndpoint;
    /**
     * @return The connection state.
     * 
     */
    private @Nullable RegistryPrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState;
    /**
     * @return One of null, "Succeeded", "Provisioning", "Failed". While not approved, it's null.
     * 
     */
    private @Nullable String provisioningState;

    private RegistryPrivateEndpointConnectionPropertiesResponse() {}
    /**
     * @return The group ids
     * 
     */
    public List groupIds() {
        return this.groupIds == null ? List.of() : this.groupIds;
    }
    /**
     * @return The PE network resource that is linked to this PE connection.
     * 
     */
    public Optional privateEndpoint() {
        return Optional.ofNullable(this.privateEndpoint);
    }
    /**
     * @return The connection state.
     * 
     */
    public Optional privateLinkServiceConnectionState() {
        return Optional.ofNullable(this.privateLinkServiceConnectionState);
    }
    /**
     * @return One of null, "Succeeded", "Provisioning", "Failed". While not approved, it's null.
     * 
     */
    public Optional provisioningState() {
        return Optional.ofNullable(this.provisioningState);
    }

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

    public static Builder builder(RegistryPrivateEndpointConnectionPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List groupIds;
        private @Nullable PrivateEndpointResourceResponse privateEndpoint;
        private @Nullable RegistryPrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState;
        private @Nullable String provisioningState;
        public Builder() {}
        public Builder(RegistryPrivateEndpointConnectionPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.groupIds = defaults.groupIds;
    	      this.privateEndpoint = defaults.privateEndpoint;
    	      this.privateLinkServiceConnectionState = defaults.privateLinkServiceConnectionState;
    	      this.provisioningState = defaults.provisioningState;
        }

        @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 privateEndpoint(@Nullable PrivateEndpointResourceResponse privateEndpoint) {

            this.privateEndpoint = privateEndpoint;
            return this;
        }
        @CustomType.Setter
        public Builder privateLinkServiceConnectionState(@Nullable RegistryPrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState) {

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

            this.provisioningState = provisioningState;
            return this;
        }
        public RegistryPrivateEndpointConnectionPropertiesResponse build() {
            final var _resultValue = new RegistryPrivateEndpointConnectionPropertiesResponse();
            _resultValue.groupIds = groupIds;
            _resultValue.privateEndpoint = privateEndpoint;
            _resultValue.privateLinkServiceConnectionState = privateLinkServiceConnectionState;
            _resultValue.provisioningState = provisioningState;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy