MhsmipRule Class
- java.
lang. Object - com.
azure. resourcemanager. keyvault. models. MhsmipRule
- com.
Implements
public final class MhsmipRule
implements JsonSerializable<MhsmipRule>
A rule governing the accessibility of a managed HSM pool from a specific IP address or IP range.
Constructor Summary
Constructor | Description |
---|---|
MhsmipRule() |
Creates an instance of Mhsmip |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Mhsmip |
fromJson(JsonReader jsonReader)
Reads an instance of Mhsmip |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: 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). |
Mhsmip |
withValue(String value)
Set the value property: 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). |
Methods inherited from java.lang.Object
Constructor Details
MhsmipRule
public MhsmipRule()
Creates an instance of MhsmipRule class.
Method Details
fromJson
public static MhsmipRule fromJson(JsonReader jsonReader)
Reads an instance of MhsmipRule from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: 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).
Returns:
withValue
public MhsmipRule withValue(String value)
Set the value property: 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).
Parameters:
Returns:
Applies to
Azure SDK for Java