
com.pulumi.azurenative.hdinsight.inputs.PrivateLinkConfigurationArgs 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.hdinsight.inputs;
import com.pulumi.azurenative.hdinsight.inputs.IPConfigurationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
/**
* The private link configuration.
*
*/
public final class PrivateLinkConfigurationArgs extends com.pulumi.resources.ResourceArgs {
public static final PrivateLinkConfigurationArgs Empty = new PrivateLinkConfigurationArgs();
/**
* The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
*
*/
@Import(name="groupId", required=true)
private Output groupId;
/**
* @return The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
*
*/
public Output groupId() {
return this.groupId;
}
/**
* The IP configurations for the private link service.
*
*/
@Import(name="ipConfigurations", required=true)
private Output> ipConfigurations;
/**
* @return The IP configurations for the private link service.
*
*/
public Output> ipConfigurations() {
return this.ipConfigurations;
}
/**
* The name of private link configuration.
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @return The name of private link configuration.
*
*/
public Output name() {
return this.name;
}
private PrivateLinkConfigurationArgs() {}
private PrivateLinkConfigurationArgs(PrivateLinkConfigurationArgs $) {
this.groupId = $.groupId;
this.ipConfigurations = $.ipConfigurations;
this.name = $.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PrivateLinkConfigurationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private PrivateLinkConfigurationArgs $;
public Builder() {
$ = new PrivateLinkConfigurationArgs();
}
public Builder(PrivateLinkConfigurationArgs defaults) {
$ = new PrivateLinkConfigurationArgs(Objects.requireNonNull(defaults));
}
/**
* @param groupId The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
*
* @return builder
*
*/
public Builder groupId(Output groupId) {
$.groupId = groupId;
return this;
}
/**
* @param groupId The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
*
* @return builder
*
*/
public Builder groupId(String groupId) {
return groupId(Output.of(groupId));
}
/**
* @param ipConfigurations The IP configurations for the private link service.
*
* @return builder
*
*/
public Builder ipConfigurations(Output> ipConfigurations) {
$.ipConfigurations = ipConfigurations;
return this;
}
/**
* @param ipConfigurations The IP configurations for the private link service.
*
* @return builder
*
*/
public Builder ipConfigurations(List ipConfigurations) {
return ipConfigurations(Output.of(ipConfigurations));
}
/**
* @param ipConfigurations The IP configurations for the private link service.
*
* @return builder
*
*/
public Builder ipConfigurations(IPConfigurationArgs... ipConfigurations) {
return ipConfigurations(List.of(ipConfigurations));
}
/**
* @param name The name of private link configuration.
*
* @return builder
*
*/
public Builder name(Output name) {
$.name = name;
return this;
}
/**
* @param name The name of private link configuration.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
public PrivateLinkConfigurationArgs build() {
if ($.groupId == null) {
throw new MissingRequiredPropertyException("PrivateLinkConfigurationArgs", "groupId");
}
if ($.ipConfigurations == null) {
throw new MissingRequiredPropertyException("PrivateLinkConfigurationArgs", "ipConfigurations");
}
if ($.name == null) {
throw new MissingRequiredPropertyException("PrivateLinkConfigurationArgs", "name");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy