
com.pulumi.azurenative.vmwarecloudsimple.outputs.VirtualNetworkResponse 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.vmwarecloudsimple.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class VirtualNetworkResponse {
/**
* @return can be used in vm creation/deletion
*
*/
private Boolean assignable;
/**
* @return virtual network id (privateCloudId:vsphereId)
*
*/
private String id;
/**
* @return Azure region
*
*/
private String location;
/**
* @return {VirtualNetworkName}
*
*/
private String name;
/**
* @return The Private Cloud id
*
*/
private String privateCloudId;
/**
* @return {resourceProviderNamespace}/{resourceType}
*
*/
private String type;
private VirtualNetworkResponse() {}
/**
* @return can be used in vm creation/deletion
*
*/
public Boolean assignable() {
return this.assignable;
}
/**
* @return virtual network id (privateCloudId:vsphereId)
*
*/
public String id() {
return this.id;
}
/**
* @return Azure region
*
*/
public String location() {
return this.location;
}
/**
* @return {VirtualNetworkName}
*
*/
public String name() {
return this.name;
}
/**
* @return The Private Cloud id
*
*/
public String privateCloudId() {
return this.privateCloudId;
}
/**
* @return {resourceProviderNamespace}/{resourceType}
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VirtualNetworkResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean assignable;
private String id;
private String location;
private String name;
private String privateCloudId;
private String type;
public Builder() {}
public Builder(VirtualNetworkResponse defaults) {
Objects.requireNonNull(defaults);
this.assignable = defaults.assignable;
this.id = defaults.id;
this.location = defaults.location;
this.name = defaults.name;
this.privateCloudId = defaults.privateCloudId;
this.type = defaults.type;
}
@CustomType.Setter
public Builder assignable(Boolean assignable) {
if (assignable == null) {
throw new MissingRequiredPropertyException("VirtualNetworkResponse", "assignable");
}
this.assignable = assignable;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("VirtualNetworkResponse", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("VirtualNetworkResponse", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("VirtualNetworkResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder privateCloudId(String privateCloudId) {
if (privateCloudId == null) {
throw new MissingRequiredPropertyException("VirtualNetworkResponse", "privateCloudId");
}
this.privateCloudId = privateCloudId;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("VirtualNetworkResponse", "type");
}
this.type = type;
return this;
}
public VirtualNetworkResponse build() {
final var _resultValue = new VirtualNetworkResponse();
_resultValue.assignable = assignable;
_resultValue.id = id;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.privateCloudId = privateCloudId;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy