com.pulumi.azurenative.keyvault.inputs.IPRuleArgs 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.keyvault.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* A rule governing the accessibility of a vault from a specific ip address or ip range.
*
*/
public final class IPRuleArgs extends com.pulumi.resources.ResourceArgs {
public static final IPRuleArgs Empty = new IPRuleArgs();
/**
* An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78).
*
*/
@Import(name="value", required=true)
private Output value;
/**
* @return An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78).
*
*/
public Output value() {
return this.value;
}
private IPRuleArgs() {}
private IPRuleArgs(IPRuleArgs $) {
this.value = $.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(IPRuleArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private IPRuleArgs $;
public Builder() {
$ = new IPRuleArgs();
}
public Builder(IPRuleArgs defaults) {
$ = new IPRuleArgs(Objects.requireNonNull(defaults));
}
/**
* @param value An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78).
*
* @return builder
*
*/
public Builder value(Output value) {
$.value = value;
return this;
}
/**
* @param value An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78).
*
* @return builder
*
*/
public Builder value(String value) {
return value(Output.of(value));
}
public IPRuleArgs build() {
if ($.value == null) {
throw new MissingRequiredPropertyException("IPRuleArgs", "value");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy