com.pulumi.azure.apimanagement.inputs.GetProductPlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.apimanagement.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetProductPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetProductPlainArgs Empty = new GetProductPlainArgs();
/**
* The Name of the API Management Service in which this Product exists.
*
*/
@Import(name="apiManagementName", required=true)
private String apiManagementName;
/**
* @return The Name of the API Management Service in which this Product exists.
*
*/
public String apiManagementName() {
return this.apiManagementName;
}
/**
* The Identifier for the API Management Product.
*
*/
@Import(name="productId", required=true)
private String productId;
/**
* @return The Identifier for the API Management Product.
*
*/
public String productId() {
return this.productId;
}
/**
* The Name of the Resource Group in which the API Management Service exists.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return The Name of the Resource Group in which the API Management Service exists.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
private GetProductPlainArgs() {}
private GetProductPlainArgs(GetProductPlainArgs $) {
this.apiManagementName = $.apiManagementName;
this.productId = $.productId;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetProductPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetProductPlainArgs $;
public Builder() {
$ = new GetProductPlainArgs();
}
public Builder(GetProductPlainArgs defaults) {
$ = new GetProductPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param apiManagementName The Name of the API Management Service in which this Product exists.
*
* @return builder
*
*/
public Builder apiManagementName(String apiManagementName) {
$.apiManagementName = apiManagementName;
return this;
}
/**
* @param productId The Identifier for the API Management Product.
*
* @return builder
*
*/
public Builder productId(String productId) {
$.productId = productId;
return this;
}
/**
* @param resourceGroupName The Name of the Resource Group in which the API Management Service exists.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
public GetProductPlainArgs build() {
if ($.apiManagementName == null) {
throw new MissingRequiredPropertyException("GetProductPlainArgs", "apiManagementName");
}
if ($.productId == null) {
throw new MissingRequiredPropertyException("GetProductPlainArgs", "productId");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetProductPlainArgs", "resourceGroupName");
}
return $;
}
}
}