com.pulumi.azurenative.keyvault.inputs.MHSMIPRuleArgs 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 managed HSM pool from a specific IP address or IP range.
*
*/
public final class MHSMIPRuleArgs extends com.pulumi.resources.ResourceArgs {
public static final MHSMIPRuleArgs Empty = new MHSMIPRuleArgs();
/**
* 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 MHSMIPRuleArgs() {}
private MHSMIPRuleArgs(MHSMIPRuleArgs $) {
this.value = $.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MHSMIPRuleArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private MHSMIPRuleArgs $;
public Builder() {
$ = new MHSMIPRuleArgs();
}
public Builder(MHSMIPRuleArgs defaults) {
$ = new MHSMIPRuleArgs(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 MHSMIPRuleArgs build() {
if ($.value == null) {
throw new MissingRequiredPropertyException("MHSMIPRuleArgs", "value");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy