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