
com.pulumi.azurenative.apicenter.inputs.GetEnvironmentPlainArgs Maven / Gradle / Ivy
// *** 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 GetEnvironmentPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetEnvironmentPlainArgs Empty = new GetEnvironmentPlainArgs();
/**
* The name of the environment.
*
*/
@Import(name="environmentName", required=true)
private String environmentName;
/**
* @return The name of the environment.
*
*/
public String environmentName() {
return this.environmentName;
}
/**
* 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 workspace.
*
*/
@Import(name="workspaceName", required=true)
private String workspaceName;
/**
* @return The name of the workspace.
*
*/
public String workspaceName() {
return this.workspaceName;
}
private GetEnvironmentPlainArgs() {}
private GetEnvironmentPlainArgs(GetEnvironmentPlainArgs $) {
this.environmentName = $.environmentName;
this.resourceGroupName = $.resourceGroupName;
this.serviceName = $.serviceName;
this.workspaceName = $.workspaceName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetEnvironmentPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetEnvironmentPlainArgs $;
public Builder() {
$ = new GetEnvironmentPlainArgs();
}
public Builder(GetEnvironmentPlainArgs defaults) {
$ = new GetEnvironmentPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param environmentName The name of the environment.
*
* @return builder
*
*/
public Builder environmentName(String environmentName) {
$.environmentName = environmentName;
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 workspaceName The name of the workspace.
*
* @return builder
*
*/
public Builder workspaceName(String workspaceName) {
$.workspaceName = workspaceName;
return this;
}
public GetEnvironmentPlainArgs build() {
if ($.environmentName == null) {
throw new MissingRequiredPropertyException("GetEnvironmentPlainArgs", "environmentName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetEnvironmentPlainArgs", "resourceGroupName");
}
if ($.serviceName == null) {
throw new MissingRequiredPropertyException("GetEnvironmentPlainArgs", "serviceName");
}
if ($.workspaceName == null) {
throw new MissingRequiredPropertyException("GetEnvironmentPlainArgs", "workspaceName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy