
com.pulumi.azurenative.managednetwork.inputs.GetManagedNetworkArgs 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.managednetwork.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 GetManagedNetworkArgs extends com.pulumi.resources.InvokeArgs {
public static final GetManagedNetworkArgs Empty = new GetManagedNetworkArgs();
/**
* The name of the Managed Network.
*
*/
@Import(name="managedNetworkName", required=true)
private Output managedNetworkName;
/**
* @return The name of the Managed Network.
*
*/
public Output managedNetworkName() {
return this.managedNetworkName;
}
/**
* The name of the resource group.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return The name of the resource group.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
private GetManagedNetworkArgs() {}
private GetManagedNetworkArgs(GetManagedNetworkArgs $) {
this.managedNetworkName = $.managedNetworkName;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetManagedNetworkArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetManagedNetworkArgs $;
public Builder() {
$ = new GetManagedNetworkArgs();
}
public Builder(GetManagedNetworkArgs defaults) {
$ = new GetManagedNetworkArgs(Objects.requireNonNull(defaults));
}
/**
* @param managedNetworkName The name of the Managed Network.
*
* @return builder
*
*/
public Builder managedNetworkName(Output managedNetworkName) {
$.managedNetworkName = managedNetworkName;
return this;
}
/**
* @param managedNetworkName The name of the Managed Network.
*
* @return builder
*
*/
public Builder managedNetworkName(String managedNetworkName) {
return managedNetworkName(Output.of(managedNetworkName));
}
/**
* @param resourceGroupName The name of the resource group.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName The name of the resource group.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
public GetManagedNetworkArgs build() {
if ($.managedNetworkName == null) {
throw new MissingRequiredPropertyException("GetManagedNetworkArgs", "managedNetworkName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetManagedNetworkArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy