
com.pulumi.azurenative.apicenter.inputs.GetApiDefinitionPlainArgs 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.apicenter.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetApiDefinitionPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetApiDefinitionPlainArgs Empty = new GetApiDefinitionPlainArgs();
/**
* The name of the API.
*
*/
@Import(name="apiName", required=true)
private String apiName;
/**
* @return The name of the API.
*
*/
public String apiName() {
return this.apiName;
}
/**
* The name of the API definition.
*
*/
@Import(name="definitionName", required=true)
private String definitionName;
/**
* @return The name of the API definition.
*
*/
public String definitionName() {
return this.definitionName;
}
/**
* 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;
}
/**
* The name of Azure API Center service.
*
*/
@Import(name="serviceName", required=true)
private String serviceName;
/**
* @return The name of Azure API Center service.
*
*/
public String serviceName() {
return this.serviceName;
}
/**
* The name of the API version.
*
*/
@Import(name="versionName", required=true)
private String versionName;
/**
* @return The name of the API version.
*
*/
public String versionName() {
return this.versionName;
}
/**
* The name of the workspace.
*
*/
@Import(name="workspaceName", required=true)
private String workspaceName;
/**
* @return The name of the workspace.
*
*/
public String workspaceName() {
return this.workspaceName;
}
private GetApiDefinitionPlainArgs() {}
private GetApiDefinitionPlainArgs(GetApiDefinitionPlainArgs $) {
this.apiName = $.apiName;
this.definitionName = $.definitionName;
this.resourceGroupName = $.resourceGroupName;
this.serviceName = $.serviceName;
this.versionName = $.versionName;
this.workspaceName = $.workspaceName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetApiDefinitionPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetApiDefinitionPlainArgs $;
public Builder() {
$ = new GetApiDefinitionPlainArgs();
}
public Builder(GetApiDefinitionPlainArgs defaults) {
$ = new GetApiDefinitionPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param apiName The name of the API.
*
* @return builder
*
*/
public Builder apiName(String apiName) {
$.apiName = apiName;
return this;
}
/**
* @param definitionName The name of the API definition.
*
* @return builder
*
*/
public Builder definitionName(String definitionName) {
$.definitionName = definitionName;
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;
}
/**
* @param serviceName The name of Azure API Center service.
*
* @return builder
*
*/
public Builder serviceName(String serviceName) {
$.serviceName = serviceName;
return this;
}
/**
* @param versionName The name of the API version.
*
* @return builder
*
*/
public Builder versionName(String versionName) {
$.versionName = versionName;
return this;
}
/**
* @param workspaceName The name of the workspace.
*
* @return builder
*
*/
public Builder workspaceName(String workspaceName) {
$.workspaceName = workspaceName;
return this;
}
public GetApiDefinitionPlainArgs build() {
if ($.apiName == null) {
throw new MissingRequiredPropertyException("GetApiDefinitionPlainArgs", "apiName");
}
if ($.definitionName == null) {
throw new MissingRequiredPropertyException("GetApiDefinitionPlainArgs", "definitionName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetApiDefinitionPlainArgs", "resourceGroupName");
}
if ($.serviceName == null) {
throw new MissingRequiredPropertyException("GetApiDefinitionPlainArgs", "serviceName");
}
if ($.versionName == null) {
throw new MissingRequiredPropertyException("GetApiDefinitionPlainArgs", "versionName");
}
if ($.workspaceName == null) {
throw new MissingRequiredPropertyException("GetApiDefinitionPlainArgs", "workspaceName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy