com.pulumi.azurenative.synapse.outputs.PrivateEndpointConnectionForPrivateLinkHubBasicResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.synapse.outputs;
import com.pulumi.azurenative.synapse.outputs.PrivateEndpointResponse;
import com.pulumi.azurenative.synapse.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 PrivateEndpointConnectionForPrivateLinkHubBasicResponse {
/**
* @return identifier
*
*/
private String id;
/**
* @return The private endpoint which the connection belongs to.
*
*/
private @Nullable PrivateEndpointResponse privateEndpoint;
/**
* @return Connection state of the private endpoint connection.
*
*/
private @Nullable PrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState;
/**
* @return Provisioning state of the private endpoint connection.
*
*/
private String provisioningState;
private PrivateEndpointConnectionForPrivateLinkHubBasicResponse() {}
/**
* @return identifier
*
*/
public String id() {
return this.id;
}
/**
* @return The private endpoint which the connection belongs to.
*
*/
public Optional privateEndpoint() {
return Optional.ofNullable(this.privateEndpoint);
}
/**
* @return Connection state of the private endpoint connection.
*
*/
public Optional privateLinkServiceConnectionState() {
return Optional.ofNullable(this.privateLinkServiceConnectionState);
}
/**
* @return Provisioning state of the private endpoint connection.
*
*/
public String provisioningState() {
return this.provisioningState;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PrivateEndpointConnectionForPrivateLinkHubBasicResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private @Nullable PrivateEndpointResponse privateEndpoint;
private @Nullable PrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState;
private String provisioningState;
public Builder() {}
public Builder(PrivateEndpointConnectionForPrivateLinkHubBasicResponse defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.privateEndpoint = defaults.privateEndpoint;
this.privateLinkServiceConnectionState = defaults.privateLinkServiceConnectionState;
this.provisioningState = defaults.provisioningState;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("PrivateEndpointConnectionForPrivateLinkHubBasicResponse", "id");
}
this.id = id;
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("PrivateEndpointConnectionForPrivateLinkHubBasicResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
public PrivateEndpointConnectionForPrivateLinkHubBasicResponse build() {
final var _resultValue = new PrivateEndpointConnectionForPrivateLinkHubBasicResponse();
_resultValue.id = id;
_resultValue.privateEndpoint = privateEndpoint;
_resultValue.privateLinkServiceConnectionState = privateLinkServiceConnectionState;
_resultValue.provisioningState = provisioningState;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy