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

com.pulumi.azurenative.purview.outputs.PrivateEndpointConnectionResponse Maven / Gradle / Ivy

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

import com.pulumi.azurenative.purview.outputs.PrivateEndpointResponse;
import com.pulumi.azurenative.purview.outputs.PrivateLinkServiceConnectionStateResponse;
import com.pulumi.azurenative.purview.outputs.ProxyResourceResponseSystemData;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class PrivateEndpointConnectionResponse {
    /**
     * @return Gets or sets the identifier.
     * 
     */
    private String id;
    /**
     * @return Gets or sets the name.
     * 
     */
    private String name;
    /**
     * @return The private endpoint information.
     * 
     */
    private @Nullable PrivateEndpointResponse privateEndpoint;
    /**
     * @return The private link service connection state.
     * 
     */
    private @Nullable PrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState;
    /**
     * @return The provisioning state.
     * 
     */
    private String provisioningState;
    /**
     * @return Metadata pertaining to creation and last modification of the resource.
     * 
     */
    private ProxyResourceResponseSystemData systemData;
    /**
     * @return Gets or sets the type.
     * 
     */
    private String type;

    private PrivateEndpointConnectionResponse() {}
    /**
     * @return Gets or sets the identifier.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Gets or sets the name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The private endpoint information.
     * 
     */
    public Optional privateEndpoint() {
        return Optional.ofNullable(this.privateEndpoint);
    }
    /**
     * @return The private link service connection state.
     * 
     */
    public Optional privateLinkServiceConnectionState() {
        return Optional.ofNullable(this.privateLinkServiceConnectionState);
    }
    /**
     * @return The provisioning state.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Metadata pertaining to creation and last modification of the resource.
     * 
     */
    public ProxyResourceResponseSystemData systemData() {
        return this.systemData;
    }
    /**
     * @return Gets or sets the type.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(PrivateEndpointConnectionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private String name;
        private @Nullable PrivateEndpointResponse privateEndpoint;
        private @Nullable PrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState;
        private String provisioningState;
        private ProxyResourceResponseSystemData systemData;
        private String type;
        public Builder() {}
        public Builder(PrivateEndpointConnectionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.privateEndpoint = defaults.privateEndpoint;
    	      this.privateLinkServiceConnectionState = defaults.privateLinkServiceConnectionState;
    	      this.provisioningState = defaults.provisioningState;
    	      this.systemData = defaults.systemData;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("PrivateEndpointConnectionResponse", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("PrivateEndpointConnectionResponse", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder privateEndpoint(@Nullable PrivateEndpointResponse privateEndpoint) {

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

            this.privateLinkServiceConnectionState = privateLinkServiceConnectionState;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("PrivateEndpointConnectionResponse", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(ProxyResourceResponseSystemData systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("PrivateEndpointConnectionResponse", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("PrivateEndpointConnectionResponse", "type");
            }
            this.type = type;
            return this;
        }
        public PrivateEndpointConnectionResponse build() {
            final var _resultValue = new PrivateEndpointConnectionResponse();
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.privateEndpoint = privateEndpoint;
            _resultValue.privateLinkServiceConnectionState = privateLinkServiceConnectionState;
            _resultValue.provisioningState = provisioningState;
            _resultValue.systemData = systemData;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy