com.pulumi.azurenative.testbase.inputs.GetFavoriteProcessArgs 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.testbase.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 GetFavoriteProcessArgs extends com.pulumi.resources.InvokeArgs {
public static final GetFavoriteProcessArgs Empty = new GetFavoriteProcessArgs();
/**
* The resource name of a favorite process in a package. If the process name contains characters that are not allowed in Azure Resource Name, we use 'actualProcessName' in request body to submit the name.
*
*/
@Import(name="favoriteProcessResourceName", required=true)
private Output favoriteProcessResourceName;
/**
* @return The resource name of a favorite process in a package. If the process name contains characters that are not allowed in Azure Resource Name, we use 'actualProcessName' in request body to submit the name.
*
*/
public Output favoriteProcessResourceName() {
return this.favoriteProcessResourceName;
}
/**
* The resource name of the Test Base Package.
*
*/
@Import(name="packageName", required=true)
private Output packageName;
/**
* @return The resource name of the Test Base Package.
*
*/
public Output packageName() {
return this.packageName;
}
/**
* The name of the resource group that contains the resource.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return The name of the resource group that contains the resource.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
/**
* The resource name of the Test Base Account.
*
*/
@Import(name="testBaseAccountName", required=true)
private Output testBaseAccountName;
/**
* @return The resource name of the Test Base Account.
*
*/
public Output testBaseAccountName() {
return this.testBaseAccountName;
}
private GetFavoriteProcessArgs() {}
private GetFavoriteProcessArgs(GetFavoriteProcessArgs $) {
this.favoriteProcessResourceName = $.favoriteProcessResourceName;
this.packageName = $.packageName;
this.resourceGroupName = $.resourceGroupName;
this.testBaseAccountName = $.testBaseAccountName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetFavoriteProcessArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetFavoriteProcessArgs $;
public Builder() {
$ = new GetFavoriteProcessArgs();
}
public Builder(GetFavoriteProcessArgs defaults) {
$ = new GetFavoriteProcessArgs(Objects.requireNonNull(defaults));
}
/**
* @param favoriteProcessResourceName The resource name of a favorite process in a package. If the process name contains characters that are not allowed in Azure Resource Name, we use 'actualProcessName' in request body to submit the name.
*
* @return builder
*
*/
public Builder favoriteProcessResourceName(Output favoriteProcessResourceName) {
$.favoriteProcessResourceName = favoriteProcessResourceName;
return this;
}
/**
* @param favoriteProcessResourceName The resource name of a favorite process in a package. If the process name contains characters that are not allowed in Azure Resource Name, we use 'actualProcessName' in request body to submit the name.
*
* @return builder
*
*/
public Builder favoriteProcessResourceName(String favoriteProcessResourceName) {
return favoriteProcessResourceName(Output.of(favoriteProcessResourceName));
}
/**
* @param packageName The resource name of the Test Base Package.
*
* @return builder
*
*/
public Builder packageName(Output packageName) {
$.packageName = packageName;
return this;
}
/**
* @param packageName The resource name of the Test Base Package.
*
* @return builder
*
*/
public Builder packageName(String packageName) {
return packageName(Output.of(packageName));
}
/**
* @param resourceGroupName The name of the resource group that contains the resource.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName The name of the resource group that contains the resource.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
/**
* @param testBaseAccountName The resource name of the Test Base Account.
*
* @return builder
*
*/
public Builder testBaseAccountName(Output testBaseAccountName) {
$.testBaseAccountName = testBaseAccountName;
return this;
}
/**
* @param testBaseAccountName The resource name of the Test Base Account.
*
* @return builder
*
*/
public Builder testBaseAccountName(String testBaseAccountName) {
return testBaseAccountName(Output.of(testBaseAccountName));
}
public GetFavoriteProcessArgs build() {
if ($.favoriteProcessResourceName == null) {
throw new MissingRequiredPropertyException("GetFavoriteProcessArgs", "favoriteProcessResourceName");
}
if ($.packageName == null) {
throw new MissingRequiredPropertyException("GetFavoriteProcessArgs", "packageName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetFavoriteProcessArgs", "resourceGroupName");
}
if ($.testBaseAccountName == null) {
throw new MissingRequiredPropertyException("GetFavoriteProcessArgs", "testBaseAccountName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy