com.pulumi.azurenative.dbformariadb.inputs.GetVirtualNetworkRuleArgs 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.dbformariadb.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetVirtualNetworkRuleArgs extends com.pulumi.resources.InvokeArgs {
public static final GetVirtualNetworkRuleArgs Empty = new GetVirtualNetworkRuleArgs();
/**
* The name of the resource group. The name is case insensitive.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return The name of the resource group. The name is case insensitive.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
/**
* The name of the server.
*
*/
@Import(name="serverName", required=true)
private Output serverName;
/**
* @return The name of the server.
*
*/
public Output serverName() {
return this.serverName;
}
/**
* The name of the virtual network rule.
*
*/
@Import(name="virtualNetworkRuleName", required=true)
private Output virtualNetworkRuleName;
/**
* @return The name of the virtual network rule.
*
*/
public Output virtualNetworkRuleName() {
return this.virtualNetworkRuleName;
}
private GetVirtualNetworkRuleArgs() {}
private GetVirtualNetworkRuleArgs(GetVirtualNetworkRuleArgs $) {
this.resourceGroupName = $.resourceGroupName;
this.serverName = $.serverName;
this.virtualNetworkRuleName = $.virtualNetworkRuleName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVirtualNetworkRuleArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetVirtualNetworkRuleArgs $;
public Builder() {
$ = new GetVirtualNetworkRuleArgs();
}
public Builder(GetVirtualNetworkRuleArgs defaults) {
$ = new GetVirtualNetworkRuleArgs(Objects.requireNonNull(defaults));
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
/**
* @param serverName The name of the server.
*
* @return builder
*
*/
public Builder serverName(Output serverName) {
$.serverName = serverName;
return this;
}
/**
* @param serverName The name of the server.
*
* @return builder
*
*/
public Builder serverName(String serverName) {
return serverName(Output.of(serverName));
}
/**
* @param virtualNetworkRuleName The name of the virtual network rule.
*
* @return builder
*
*/
public Builder virtualNetworkRuleName(Output virtualNetworkRuleName) {
$.virtualNetworkRuleName = virtualNetworkRuleName;
return this;
}
/**
* @param virtualNetworkRuleName The name of the virtual network rule.
*
* @return builder
*
*/
public Builder virtualNetworkRuleName(String virtualNetworkRuleName) {
return virtualNetworkRuleName(Output.of(virtualNetworkRuleName));
}
public GetVirtualNetworkRuleArgs build() {
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetVirtualNetworkRuleArgs", "resourceGroupName");
}
if ($.serverName == null) {
throw new MissingRequiredPropertyException("GetVirtualNetworkRuleArgs", "serverName");
}
if ($.virtualNetworkRuleName == null) {
throw new MissingRequiredPropertyException("GetVirtualNetworkRuleArgs", "virtualNetworkRuleName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy