
com.pulumi.azurenative.devtestlab.outputs.SubnetOverrideResponse 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.devtestlab.outputs;
import com.pulumi.azurenative.devtestlab.outputs.SubnetSharedPublicIpAddressConfigurationResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SubnetOverrideResponse {
/**
* @return The name given to the subnet within the lab.
*
*/
private @Nullable String labSubnetName;
/**
* @return The resource ID of the subnet.
*
*/
private @Nullable String resourceId;
/**
* @return Properties that virtual machines on this subnet will share.
*
*/
private @Nullable SubnetSharedPublicIpAddressConfigurationResponse sharedPublicIpAddressConfiguration;
/**
* @return Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
*
*/
private @Nullable String useInVmCreationPermission;
/**
* @return Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
*
*/
private @Nullable String usePublicIpAddressPermission;
/**
* @return The virtual network pool associated with this subnet.
*
*/
private @Nullable String virtualNetworkPoolName;
private SubnetOverrideResponse() {}
/**
* @return The name given to the subnet within the lab.
*
*/
public Optional labSubnetName() {
return Optional.ofNullable(this.labSubnetName);
}
/**
* @return The resource ID of the subnet.
*
*/
public Optional resourceId() {
return Optional.ofNullable(this.resourceId);
}
/**
* @return Properties that virtual machines on this subnet will share.
*
*/
public Optional sharedPublicIpAddressConfiguration() {
return Optional.ofNullable(this.sharedPublicIpAddressConfiguration);
}
/**
* @return Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
*
*/
public Optional useInVmCreationPermission() {
return Optional.ofNullable(this.useInVmCreationPermission);
}
/**
* @return Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
*
*/
public Optional usePublicIpAddressPermission() {
return Optional.ofNullable(this.usePublicIpAddressPermission);
}
/**
* @return The virtual network pool associated with this subnet.
*
*/
public Optional virtualNetworkPoolName() {
return Optional.ofNullable(this.virtualNetworkPoolName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SubnetOverrideResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String labSubnetName;
private @Nullable String resourceId;
private @Nullable SubnetSharedPublicIpAddressConfigurationResponse sharedPublicIpAddressConfiguration;
private @Nullable String useInVmCreationPermission;
private @Nullable String usePublicIpAddressPermission;
private @Nullable String virtualNetworkPoolName;
public Builder() {}
public Builder(SubnetOverrideResponse defaults) {
Objects.requireNonNull(defaults);
this.labSubnetName = defaults.labSubnetName;
this.resourceId = defaults.resourceId;
this.sharedPublicIpAddressConfiguration = defaults.sharedPublicIpAddressConfiguration;
this.useInVmCreationPermission = defaults.useInVmCreationPermission;
this.usePublicIpAddressPermission = defaults.usePublicIpAddressPermission;
this.virtualNetworkPoolName = defaults.virtualNetworkPoolName;
}
@CustomType.Setter
public Builder labSubnetName(@Nullable String labSubnetName) {
this.labSubnetName = labSubnetName;
return this;
}
@CustomType.Setter
public Builder resourceId(@Nullable String resourceId) {
this.resourceId = resourceId;
return this;
}
@CustomType.Setter
public Builder sharedPublicIpAddressConfiguration(@Nullable SubnetSharedPublicIpAddressConfigurationResponse sharedPublicIpAddressConfiguration) {
this.sharedPublicIpAddressConfiguration = sharedPublicIpAddressConfiguration;
return this;
}
@CustomType.Setter
public Builder useInVmCreationPermission(@Nullable String useInVmCreationPermission) {
this.useInVmCreationPermission = useInVmCreationPermission;
return this;
}
@CustomType.Setter
public Builder usePublicIpAddressPermission(@Nullable String usePublicIpAddressPermission) {
this.usePublicIpAddressPermission = usePublicIpAddressPermission;
return this;
}
@CustomType.Setter
public Builder virtualNetworkPoolName(@Nullable String virtualNetworkPoolName) {
this.virtualNetworkPoolName = virtualNetworkPoolName;
return this;
}
public SubnetOverrideResponse build() {
final var _resultValue = new SubnetOverrideResponse();
_resultValue.labSubnetName = labSubnetName;
_resultValue.resourceId = resourceId;
_resultValue.sharedPublicIpAddressConfiguration = sharedPublicIpAddressConfiguration;
_resultValue.useInVmCreationPermission = useInVmCreationPermission;
_resultValue.usePublicIpAddressPermission = usePublicIpAddressPermission;
_resultValue.virtualNetworkPoolName = virtualNetworkPoolName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy