com.pulumi.azurenative.datafactory.inputs.AzPowerShellSetupArgs 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.datafactory.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* The express custom setup of installing Azure PowerShell.
*
*/
public final class AzPowerShellSetupArgs extends com.pulumi.resources.ResourceArgs {
public static final AzPowerShellSetupArgs Empty = new AzPowerShellSetupArgs();
/**
* The type of custom setup.
* Expected value is 'AzPowerShellSetup'.
*
*/
@Import(name="type", required=true)
private Output type;
/**
* @return The type of custom setup.
* Expected value is 'AzPowerShellSetup'.
*
*/
public Output type() {
return this.type;
}
/**
* The required version of Azure PowerShell to install.
*
*/
@Import(name="version", required=true)
private Output version;
/**
* @return The required version of Azure PowerShell to install.
*
*/
public Output version() {
return this.version;
}
private AzPowerShellSetupArgs() {}
private AzPowerShellSetupArgs(AzPowerShellSetupArgs $) {
this.type = $.type;
this.version = $.version;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AzPowerShellSetupArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private AzPowerShellSetupArgs $;
public Builder() {
$ = new AzPowerShellSetupArgs();
}
public Builder(AzPowerShellSetupArgs defaults) {
$ = new AzPowerShellSetupArgs(Objects.requireNonNull(defaults));
}
/**
* @param type The type of custom setup.
* Expected value is 'AzPowerShellSetup'.
*
* @return builder
*
*/
public Builder type(Output type) {
$.type = type;
return this;
}
/**
* @param type The type of custom setup.
* Expected value is 'AzPowerShellSetup'.
*
* @return builder
*
*/
public Builder type(String type) {
return type(Output.of(type));
}
/**
* @param version The required version of Azure PowerShell to install.
*
* @return builder
*
*/
public Builder version(Output version) {
$.version = version;
return this;
}
/**
* @param version The required version of Azure PowerShell to install.
*
* @return builder
*
*/
public Builder version(String version) {
return version(Output.of(version));
}
public AzPowerShellSetupArgs build() {
$.type = Codegen.stringProp("type").output().arg($.type).require();
if ($.version == null) {
throw new MissingRequiredPropertyException("AzPowerShellSetupArgs", "version");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy