com.pulumi.azurenative.datafactory.inputs.ManagedVirtualNetworkReferenceArgs 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.azurenative.datafactory.enums.ManagedVirtualNetworkReferenceType;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* Managed Virtual Network reference type.
*
*/
public final class ManagedVirtualNetworkReferenceArgs extends com.pulumi.resources.ResourceArgs {
public static final ManagedVirtualNetworkReferenceArgs Empty = new ManagedVirtualNetworkReferenceArgs();
/**
* Reference ManagedVirtualNetwork name.
*
*/
@Import(name="referenceName", required=true)
private Output referenceName;
/**
* @return Reference ManagedVirtualNetwork name.
*
*/
public Output referenceName() {
return this.referenceName;
}
/**
* Managed Virtual Network reference type.
*
*/
@Import(name="type", required=true)
private Output> type;
/**
* @return Managed Virtual Network reference type.
*
*/
public Output> type() {
return this.type;
}
private ManagedVirtualNetworkReferenceArgs() {}
private ManagedVirtualNetworkReferenceArgs(ManagedVirtualNetworkReferenceArgs $) {
this.referenceName = $.referenceName;
this.type = $.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ManagedVirtualNetworkReferenceArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ManagedVirtualNetworkReferenceArgs $;
public Builder() {
$ = new ManagedVirtualNetworkReferenceArgs();
}
public Builder(ManagedVirtualNetworkReferenceArgs defaults) {
$ = new ManagedVirtualNetworkReferenceArgs(Objects.requireNonNull(defaults));
}
/**
* @param referenceName Reference ManagedVirtualNetwork name.
*
* @return builder
*
*/
public Builder referenceName(Output referenceName) {
$.referenceName = referenceName;
return this;
}
/**
* @param referenceName Reference ManagedVirtualNetwork name.
*
* @return builder
*
*/
public Builder referenceName(String referenceName) {
return referenceName(Output.of(referenceName));
}
/**
* @param type Managed Virtual Network reference type.
*
* @return builder
*
*/
public Builder type(Output> type) {
$.type = type;
return this;
}
/**
* @param type Managed Virtual Network reference type.
*
* @return builder
*
*/
public Builder type(Either type) {
return type(Output.of(type));
}
/**
* @param type Managed Virtual Network reference type.
*
* @return builder
*
*/
public Builder type(String type) {
return type(Either.ofLeft(type));
}
/**
* @param type Managed Virtual Network reference type.
*
* @return builder
*
*/
public Builder type(ManagedVirtualNetworkReferenceType type) {
return type(Either.ofRight(type));
}
public ManagedVirtualNetworkReferenceArgs build() {
if ($.referenceName == null) {
throw new MissingRequiredPropertyException("ManagedVirtualNetworkReferenceArgs", "referenceName");
}
if ($.type == null) {
throw new MissingRequiredPropertyException("ManagedVirtualNetworkReferenceArgs", "type");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy