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