
com.pulumi.azurenative.batch.inputs.GetApplicationPackageArgs 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.batch.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 GetApplicationPackageArgs extends com.pulumi.resources.InvokeArgs {
public static final GetApplicationPackageArgs Empty = new GetApplicationPackageArgs();
/**
* The name of the Batch account.
*
*/
@Import(name="accountName", required=true)
private Output accountName;
/**
* @return The name of the Batch account.
*
*/
public Output accountName() {
return this.accountName;
}
/**
* The name of the application. This must be unique within the account.
*
*/
@Import(name="applicationName", required=true)
private Output applicationName;
/**
* @return The name of the application. This must be unique within the account.
*
*/
public Output applicationName() {
return this.applicationName;
}
/**
* The name of the resource group that contains the Batch account.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return The name of the resource group that contains the Batch account.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
/**
* The version of the application.
*
*/
@Import(name="versionName", required=true)
private Output versionName;
/**
* @return The version of the application.
*
*/
public Output versionName() {
return this.versionName;
}
private GetApplicationPackageArgs() {}
private GetApplicationPackageArgs(GetApplicationPackageArgs $) {
this.accountName = $.accountName;
this.applicationName = $.applicationName;
this.resourceGroupName = $.resourceGroupName;
this.versionName = $.versionName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetApplicationPackageArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetApplicationPackageArgs $;
public Builder() {
$ = new GetApplicationPackageArgs();
}
public Builder(GetApplicationPackageArgs defaults) {
$ = new GetApplicationPackageArgs(Objects.requireNonNull(defaults));
}
/**
* @param accountName The name of the Batch account.
*
* @return builder
*
*/
public Builder accountName(Output accountName) {
$.accountName = accountName;
return this;
}
/**
* @param accountName The name of the Batch account.
*
* @return builder
*
*/
public Builder accountName(String accountName) {
return accountName(Output.of(accountName));
}
/**
* @param applicationName The name of the application. This must be unique within the account.
*
* @return builder
*
*/
public Builder applicationName(Output applicationName) {
$.applicationName = applicationName;
return this;
}
/**
* @param applicationName The name of the application. This must be unique within the account.
*
* @return builder
*
*/
public Builder applicationName(String applicationName) {
return applicationName(Output.of(applicationName));
}
/**
* @param resourceGroupName The name of the resource group that contains the Batch account.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName The name of the resource group that contains the Batch account.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
/**
* @param versionName The version of the application.
*
* @return builder
*
*/
public Builder versionName(Output versionName) {
$.versionName = versionName;
return this;
}
/**
* @param versionName The version of the application.
*
* @return builder
*
*/
public Builder versionName(String versionName) {
return versionName(Output.of(versionName));
}
public GetApplicationPackageArgs build() {
if ($.accountName == null) {
throw new MissingRequiredPropertyException("GetApplicationPackageArgs", "accountName");
}
if ($.applicationName == null) {
throw new MissingRequiredPropertyException("GetApplicationPackageArgs", "applicationName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetApplicationPackageArgs", "resourceGroupName");
}
if ($.versionName == null) {
throw new MissingRequiredPropertyException("GetApplicationPackageArgs", "versionName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy