com.pulumi.azurenative.databricks.outputs.AddressSpaceResponse 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.databricks.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class AddressSpaceResponse {
/**
* @return A list of address blocks reserved for this virtual network in CIDR notation.
*
*/
private @Nullable List addressPrefixes;
private AddressSpaceResponse() {}
/**
* @return A list of address blocks reserved for this virtual network in CIDR notation.
*
*/
public List addressPrefixes() {
return this.addressPrefixes == null ? List.of() : this.addressPrefixes;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AddressSpaceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List addressPrefixes;
public Builder() {}
public Builder(AddressSpaceResponse defaults) {
Objects.requireNonNull(defaults);
this.addressPrefixes = defaults.addressPrefixes;
}
@CustomType.Setter
public Builder addressPrefixes(@Nullable List addressPrefixes) {
this.addressPrefixes = addressPrefixes;
return this;
}
public Builder addressPrefixes(String... addressPrefixes) {
return addressPrefixes(List.of(addressPrefixes));
}
public AddressSpaceResponse build() {
final var _resultValue = new AddressSpaceResponse();
_resultValue.addressPrefixes = addressPrefixes;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy