com.pulumi.azurenative.fabric.inputs.GetFabricCapacityArgs 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.fabric.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 GetFabricCapacityArgs extends com.pulumi.resources.InvokeArgs {
public static final GetFabricCapacityArgs Empty = new GetFabricCapacityArgs();
/**
* The name of the Microsoft Fabric capacity. It must be a minimum of 3 characters, and a maximum of 63.
*
*/
@Import(name="capacityName", required=true)
private Output capacityName;
/**
* @return The name of the Microsoft Fabric capacity. It must be a minimum of 3 characters, and a maximum of 63.
*
*/
public Output capacityName() {
return this.capacityName;
}
/**
* 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;
}
private GetFabricCapacityArgs() {}
private GetFabricCapacityArgs(GetFabricCapacityArgs $) {
this.capacityName = $.capacityName;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetFabricCapacityArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetFabricCapacityArgs $;
public Builder() {
$ = new GetFabricCapacityArgs();
}
public Builder(GetFabricCapacityArgs defaults) {
$ = new GetFabricCapacityArgs(Objects.requireNonNull(defaults));
}
/**
* @param capacityName The name of the Microsoft Fabric capacity. It must be a minimum of 3 characters, and a maximum of 63.
*
* @return builder
*
*/
public Builder capacityName(Output capacityName) {
$.capacityName = capacityName;
return this;
}
/**
* @param capacityName The name of the Microsoft Fabric capacity. It must be a minimum of 3 characters, and a maximum of 63.
*
* @return builder
*
*/
public Builder capacityName(String capacityName) {
return capacityName(Output.of(capacityName));
}
/**
* @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));
}
public GetFabricCapacityArgs build() {
if ($.capacityName == null) {
throw new MissingRequiredPropertyException("GetFabricCapacityArgs", "capacityName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetFabricCapacityArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy