
com.pulumi.azurenative.datafactory.outputs.ManagedPrivateEndpointResponse 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.datafactory.outputs;
import com.pulumi.azurenative.datafactory.outputs.ConnectionStatePropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ManagedPrivateEndpointResponse {
/**
* @return The managed private endpoint connection state
*
*/
private @Nullable ConnectionStatePropertiesResponse connectionState;
/**
* @return Fully qualified domain names
*
*/
private @Nullable List fqdns;
/**
* @return The groupId to which the managed private endpoint is created
*
*/
private @Nullable String groupId;
/**
* @return Denotes whether the managed private endpoint is reserved
*
*/
private Boolean isReserved;
/**
* @return The ARM resource ID of the resource to which the managed private endpoint is created
*
*/
private @Nullable String privateLinkResourceId;
/**
* @return The managed private endpoint provisioning state
*
*/
private String provisioningState;
private ManagedPrivateEndpointResponse() {}
/**
* @return The managed private endpoint connection state
*
*/
public Optional connectionState() {
return Optional.ofNullable(this.connectionState);
}
/**
* @return Fully qualified domain names
*
*/
public List fqdns() {
return this.fqdns == null ? List.of() : this.fqdns;
}
/**
* @return The groupId to which the managed private endpoint is created
*
*/
public Optional groupId() {
return Optional.ofNullable(this.groupId);
}
/**
* @return Denotes whether the managed private endpoint is reserved
*
*/
public Boolean isReserved() {
return this.isReserved;
}
/**
* @return The ARM resource ID of the resource to which the managed private endpoint is created
*
*/
public Optional privateLinkResourceId() {
return Optional.ofNullable(this.privateLinkResourceId);
}
/**
* @return The managed private endpoint provisioning state
*
*/
public String provisioningState() {
return this.provisioningState;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ManagedPrivateEndpointResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ConnectionStatePropertiesResponse connectionState;
private @Nullable List fqdns;
private @Nullable String groupId;
private Boolean isReserved;
private @Nullable String privateLinkResourceId;
private String provisioningState;
public Builder() {}
public Builder(ManagedPrivateEndpointResponse defaults) {
Objects.requireNonNull(defaults);
this.connectionState = defaults.connectionState;
this.fqdns = defaults.fqdns;
this.groupId = defaults.groupId;
this.isReserved = defaults.isReserved;
this.privateLinkResourceId = defaults.privateLinkResourceId;
this.provisioningState = defaults.provisioningState;
}
@CustomType.Setter
public Builder connectionState(@Nullable ConnectionStatePropertiesResponse connectionState) {
this.connectionState = connectionState;
return this;
}
@CustomType.Setter
public Builder fqdns(@Nullable List fqdns) {
this.fqdns = fqdns;
return this;
}
public Builder fqdns(String... fqdns) {
return fqdns(List.of(fqdns));
}
@CustomType.Setter
public Builder groupId(@Nullable String groupId) {
this.groupId = groupId;
return this;
}
@CustomType.Setter
public Builder isReserved(Boolean isReserved) {
if (isReserved == null) {
throw new MissingRequiredPropertyException("ManagedPrivateEndpointResponse", "isReserved");
}
this.isReserved = isReserved;
return this;
}
@CustomType.Setter
public Builder privateLinkResourceId(@Nullable String privateLinkResourceId) {
this.privateLinkResourceId = privateLinkResourceId;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("ManagedPrivateEndpointResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
public ManagedPrivateEndpointResponse build() {
final var _resultValue = new ManagedPrivateEndpointResponse();
_resultValue.connectionState = connectionState;
_resultValue.fqdns = fqdns;
_resultValue.groupId = groupId;
_resultValue.isReserved = isReserved;
_resultValue.privateLinkResourceId = privateLinkResourceId;
_resultValue.provisioningState = provisioningState;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy