com.pulumi.azure.privatelink.outputs.EndpointNetworkInterface 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.azure.privatelink.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class EndpointNetworkInterface {
/**
* @return The ID of the Private DNS Zone Config.
*
*/
private @Nullable String id;
/**
* @return Specifies the Name of the Private Endpoint. Changing this forces a new resource to be created.
*
*/
private @Nullable String name;
private EndpointNetworkInterface() {}
/**
* @return The ID of the Private DNS Zone Config.
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return Specifies the Name of the Private Endpoint. Changing this forces a new resource to be created.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EndpointNetworkInterface defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String id;
private @Nullable String name;
public Builder() {}
public Builder(EndpointNetworkInterface defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.name = defaults.name;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
public EndpointNetworkInterface build() {
final var _resultValue = new EndpointNetworkInterface();
_resultValue.id = id;
_resultValue.name = name;
return _resultValue;
}
}
}