primary
Get the primary property: Whether the ip configuration is primary or not.
- Returns:
- the primary value.
com.azure.json.JsonSerializable<ApplicationGatewayPrivateLinkIpConfigurationProperties>fromJson(com.azure.json.JsonReader jsonReader) primary()com.azure.core.management.SubResourcesubnet()com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()withPrimary(Boolean primary) withPrivateIpAddress(String privateIpAddress) withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) withSubnet(com.azure.core.management.SubResource subnet) clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoJson, toJson, toJsonBytes, toJsonStringprivateIpAddress - the privateIpAddress value to set.privateIpAllocationMethod - the privateIpAllocationMethod value to set.subnet - the subnet value to set.primary - the primary value to set.IllegalArgumentException - thrown if the instance is not valid.toJson in interface com.azure.json.JsonSerializable<ApplicationGatewayPrivateLinkIpConfigurationProperties>IOExceptionjsonReader - The JsonReader being read.IOException - If an error occurs while reading the ApplicationGatewayPrivateLinkIpConfigurationProperties.