
com.pulumi.azurenative.dbforpostgresql.outputs.GetVirtualEndpointResult 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.dbforpostgresql.outputs;
import com.pulumi.azurenative.dbforpostgresql.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetVirtualEndpointResult {
/**
* @return The endpoint type for the virtual endpoint.
*
*/
private @Nullable String endpointType;
/**
* @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
private String id;
/**
* @return List of members for a virtual endpoint
*
*/
private @Nullable List members;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
/**
* @return List of virtual endpoints for a server
*
*/
private List virtualEndpoints;
private GetVirtualEndpointResult() {}
/**
* @return The endpoint type for the virtual endpoint.
*
*/
public Optional endpointType() {
return Optional.ofNullable(this.endpointType);
}
/**
* @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
public String id() {
return this.id;
}
/**
* @return List of members for a virtual endpoint
*
*/
public List members() {
return this.members == null ? List.of() : this.members;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
/**
* @return List of virtual endpoints for a server
*
*/
public List virtualEndpoints() {
return this.virtualEndpoints;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVirtualEndpointResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String endpointType;
private String id;
private @Nullable List members;
private String name;
private SystemDataResponse systemData;
private String type;
private List virtualEndpoints;
public Builder() {}
public Builder(GetVirtualEndpointResult defaults) {
Objects.requireNonNull(defaults);
this.endpointType = defaults.endpointType;
this.id = defaults.id;
this.members = defaults.members;
this.name = defaults.name;
this.systemData = defaults.systemData;
this.type = defaults.type;
this.virtualEndpoints = defaults.virtualEndpoints;
}
@CustomType.Setter
public Builder endpointType(@Nullable String endpointType) {
this.endpointType = endpointType;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetVirtualEndpointResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder members(@Nullable List members) {
this.members = members;
return this;
}
public Builder members(String... members) {
return members(List.of(members));
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetVirtualEndpointResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetVirtualEndpointResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetVirtualEndpointResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder virtualEndpoints(List virtualEndpoints) {
if (virtualEndpoints == null) {
throw new MissingRequiredPropertyException("GetVirtualEndpointResult", "virtualEndpoints");
}
this.virtualEndpoints = virtualEndpoints;
return this;
}
public Builder virtualEndpoints(String... virtualEndpoints) {
return virtualEndpoints(List.of(virtualEndpoints));
}
public GetVirtualEndpointResult build() {
final var _resultValue = new GetVirtualEndpointResult();
_resultValue.endpointType = endpointType;
_resultValue.id = id;
_resultValue.members = members;
_resultValue.name = name;
_resultValue.systemData = systemData;
_resultValue.type = type;
_resultValue.virtualEndpoints = virtualEndpoints;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy