com.pulumi.azurenative.automation.inputs.GetPackageArgs 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.automation.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 GetPackageArgs extends com.pulumi.resources.InvokeArgs {
public static final GetPackageArgs Empty = new GetPackageArgs();
/**
* The name of the automation account.
*
*/
@Import(name="automationAccountName", required=true)
private Output automationAccountName;
/**
* @return The name of the automation account.
*
*/
public Output automationAccountName() {
return this.automationAccountName;
}
/**
* The Package name.
*
*/
@Import(name="packageName", required=true)
private Output packageName;
/**
* @return The Package name.
*
*/
public Output packageName() {
return this.packageName;
}
/**
* Name of an Azure Resource group.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return Name of an Azure Resource group.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
/**
* The name of the Runtime Environment.
*
*/
@Import(name="runtimeEnvironmentName", required=true)
private Output runtimeEnvironmentName;
/**
* @return The name of the Runtime Environment.
*
*/
public Output runtimeEnvironmentName() {
return this.runtimeEnvironmentName;
}
private GetPackageArgs() {}
private GetPackageArgs(GetPackageArgs $) {
this.automationAccountName = $.automationAccountName;
this.packageName = $.packageName;
this.resourceGroupName = $.resourceGroupName;
this.runtimeEnvironmentName = $.runtimeEnvironmentName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPackageArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetPackageArgs $;
public Builder() {
$ = new GetPackageArgs();
}
public Builder(GetPackageArgs defaults) {
$ = new GetPackageArgs(Objects.requireNonNull(defaults));
}
/**
* @param automationAccountName The name of the automation account.
*
* @return builder
*
*/
public Builder automationAccountName(Output automationAccountName) {
$.automationAccountName = automationAccountName;
return this;
}
/**
* @param automationAccountName The name of the automation account.
*
* @return builder
*
*/
public Builder automationAccountName(String automationAccountName) {
return automationAccountName(Output.of(automationAccountName));
}
/**
* @param packageName The Package name.
*
* @return builder
*
*/
public Builder packageName(Output packageName) {
$.packageName = packageName;
return this;
}
/**
* @param packageName The Package name.
*
* @return builder
*
*/
public Builder packageName(String packageName) {
return packageName(Output.of(packageName));
}
/**
* @param resourceGroupName Name of an Azure Resource group.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName Name of an Azure Resource group.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
/**
* @param runtimeEnvironmentName The name of the Runtime Environment.
*
* @return builder
*
*/
public Builder runtimeEnvironmentName(Output runtimeEnvironmentName) {
$.runtimeEnvironmentName = runtimeEnvironmentName;
return this;
}
/**
* @param runtimeEnvironmentName The name of the Runtime Environment.
*
* @return builder
*
*/
public Builder runtimeEnvironmentName(String runtimeEnvironmentName) {
return runtimeEnvironmentName(Output.of(runtimeEnvironmentName));
}
public GetPackageArgs build() {
if ($.automationAccountName == null) {
throw new MissingRequiredPropertyException("GetPackageArgs", "automationAccountName");
}
if ($.packageName == null) {
throw new MissingRequiredPropertyException("GetPackageArgs", "packageName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetPackageArgs", "resourceGroupName");
}
if ($.runtimeEnvironmentName == null) {
throw new MissingRequiredPropertyException("GetPackageArgs", "runtimeEnvironmentName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy