com.pulumi.azurenative.network.inputs.BastionShareableLinkArgs 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.network.inputs;
import com.pulumi.azurenative.network.inputs.VMArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;
/**
* Bastion Shareable Link.
*
*/
public final class BastionShareableLinkArgs extends com.pulumi.resources.ResourceArgs {
public static final BastionShareableLinkArgs Empty = new BastionShareableLinkArgs();
/**
* Reference of the virtual machine resource.
*
*/
@Import(name="vm", required=true)
private Output vm;
/**
* @return Reference of the virtual machine resource.
*
*/
public Output vm() {
return this.vm;
}
private BastionShareableLinkArgs() {}
private BastionShareableLinkArgs(BastionShareableLinkArgs $) {
this.vm = $.vm;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BastionShareableLinkArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private BastionShareableLinkArgs $;
public Builder() {
$ = new BastionShareableLinkArgs();
}
public Builder(BastionShareableLinkArgs defaults) {
$ = new BastionShareableLinkArgs(Objects.requireNonNull(defaults));
}
/**
* @param vm Reference of the virtual machine resource.
*
* @return builder
*
*/
public Builder vm(Output vm) {
$.vm = vm;
return this;
}
/**
* @param vm Reference of the virtual machine resource.
*
* @return builder
*
*/
public Builder vm(VMArgs vm) {
return vm(Output.of(vm));
}
public BastionShareableLinkArgs build() {
if ($.vm == null) {
throw new MissingRequiredPropertyException("BastionShareableLinkArgs", "vm");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy