
com.pulumi.azurenative.managednetworkfabric.outputs.WorkloadServicesResponse 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.managednetworkfabric.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 WorkloadServicesResponse {
/**
* @return The IPv4 Address space is optional, if the value is defined at the time of NFC creation, then the default value 10.0.0.0/19 is considered. The IPV4 address subnet is an optional attribute.
*
*/
private @Nullable List ipv4AddressSpaces;
/**
* @return The IPv6 is not supported right now.
*
*/
private @Nullable List ipv6AddressSpaces;
private WorkloadServicesResponse() {}
/**
* @return The IPv4 Address space is optional, if the value is defined at the time of NFC creation, then the default value 10.0.0.0/19 is considered. The IPV4 address subnet is an optional attribute.
*
*/
public List ipv4AddressSpaces() {
return this.ipv4AddressSpaces == null ? List.of() : this.ipv4AddressSpaces;
}
/**
* @return The IPv6 is not supported right now.
*
*/
public List ipv6AddressSpaces() {
return this.ipv6AddressSpaces == null ? List.of() : this.ipv6AddressSpaces;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WorkloadServicesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List ipv4AddressSpaces;
private @Nullable List ipv6AddressSpaces;
public Builder() {}
public Builder(WorkloadServicesResponse defaults) {
Objects.requireNonNull(defaults);
this.ipv4AddressSpaces = defaults.ipv4AddressSpaces;
this.ipv6AddressSpaces = defaults.ipv6AddressSpaces;
}
@CustomType.Setter
public Builder ipv4AddressSpaces(@Nullable List ipv4AddressSpaces) {
this.ipv4AddressSpaces = ipv4AddressSpaces;
return this;
}
public Builder ipv4AddressSpaces(String... ipv4AddressSpaces) {
return ipv4AddressSpaces(List.of(ipv4AddressSpaces));
}
@CustomType.Setter
public Builder ipv6AddressSpaces(@Nullable List ipv6AddressSpaces) {
this.ipv6AddressSpaces = ipv6AddressSpaces;
return this;
}
public Builder ipv6AddressSpaces(String... ipv6AddressSpaces) {
return ipv6AddressSpaces(List.of(ipv6AddressSpaces));
}
public WorkloadServicesResponse build() {
final var _resultValue = new WorkloadServicesResponse();
_resultValue.ipv4AddressSpaces = ipv4AddressSpaces;
_resultValue.ipv6AddressSpaces = ipv6AddressSpaces;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy