com.pulumi.azurenative.documentdb.outputs.IpAddressOrRangeResponse 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.documentdb.outputs;
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 IpAddressOrRangeResponse {
/**
* @return A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
*
*/
private @Nullable String ipAddressOrRange;
private IpAddressOrRangeResponse() {}
/**
* @return A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
*
*/
public Optional ipAddressOrRange() {
return Optional.ofNullable(this.ipAddressOrRange);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(IpAddressOrRangeResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String ipAddressOrRange;
public Builder() {}
public Builder(IpAddressOrRangeResponse defaults) {
Objects.requireNonNull(defaults);
this.ipAddressOrRange = defaults.ipAddressOrRange;
}
@CustomType.Setter
public Builder ipAddressOrRange(@Nullable String ipAddressOrRange) {
this.ipAddressOrRange = ipAddressOrRange;
return this;
}
public IpAddressOrRangeResponse build() {
final var _resultValue = new IpAddressOrRangeResponse();
_resultValue.ipAddressOrRange = ipAddressOrRange;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy