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

com.pulumi.azurenative.network.outputs.GetApplicationGatewayPrivateEndpointConnectionResult 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.network.outputs;

import com.pulumi.azurenative.network.outputs.PrivateEndpointResponse;
import com.pulumi.azurenative.network.outputs.PrivateLinkServiceConnectionStateResponse;
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 GetApplicationGatewayPrivateEndpointConnectionResult {
    /**
     * @return A unique read-only string that changes whenever the resource is updated.
     * 
     */
    private String etag;
    /**
     * @return Resource ID.
     * 
     */
    private @Nullable String id;
    /**
     * @return The consumer link id.
     * 
     */
    private String linkIdentifier;
    /**
     * @return Name of the private endpoint connection on an application gateway.
     * 
     */
    private @Nullable String name;
    /**
     * @return The resource of private end point.
     * 
     */
    private PrivateEndpointResponse privateEndpoint;
    /**
     * @return A collection of information about the state of the connection between service consumer and provider.
     * 
     */
    private @Nullable PrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState;
    /**
     * @return The provisioning state of the application gateway private endpoint connection resource.
     * 
     */
    private String provisioningState;
    /**
     * @return Type of the resource.
     * 
     */
    private String type;

    private GetApplicationGatewayPrivateEndpointConnectionResult() {}
    /**
     * @return A unique read-only string that changes whenever the resource is updated.
     * 
     */
    public String etag() {
        return this.etag;
    }
    /**
     * @return Resource ID.
     * 
     */
    public Optional id() {
        return Optional.ofNullable(this.id);
    }
    /**
     * @return The consumer link id.
     * 
     */
    public String linkIdentifier() {
        return this.linkIdentifier;
    }
    /**
     * @return Name of the private endpoint connection on an application gateway.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return The resource of private end point.
     * 
     */
    public PrivateEndpointResponse privateEndpoint() {
        return this.privateEndpoint;
    }
    /**
     * @return A collection of information about the state of the connection between service consumer and provider.
     * 
     */
    public Optional privateLinkServiceConnectionState() {
        return Optional.ofNullable(this.privateLinkServiceConnectionState);
    }
    /**
     * @return The provisioning state of the application gateway private endpoint connection resource.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Type of the resource.
     * 
     */
    public String type() {
        return this.type;
    }

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

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

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

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

            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder privateEndpoint(PrivateEndpointResponse privateEndpoint) {
            if (privateEndpoint == null) {
              throw new MissingRequiredPropertyException("GetApplicationGatewayPrivateEndpointConnectionResult", "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("GetApplicationGatewayPrivateEndpointConnectionResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetApplicationGatewayPrivateEndpointConnectionResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetApplicationGatewayPrivateEndpointConnectionResult build() {
            final var _resultValue = new GetApplicationGatewayPrivateEndpointConnectionResult();
            _resultValue.etag = etag;
            _resultValue.id = id;
            _resultValue.linkIdentifier = linkIdentifier;
            _resultValue.name = name;
            _resultValue.privateEndpoint = privateEndpoint;
            _resultValue.privateLinkServiceConnectionState = privateLinkServiceConnectionState;
            _resultValue.provisioningState = provisioningState;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy