Class PrivateEndpointIpConfigurationProperties
java.lang.Object
com.azure.resourcemanager.network.fluent.models.PrivateEndpointIpConfigurationProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<PrivateEndpointIpConfigurationProperties>
public final class PrivateEndpointIpConfigurationProperties
extends Object
implements com.azure.json.JsonSerializable<PrivateEndpointIpConfigurationProperties>
Properties of an IP Configuration of the private endpoint.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PrivateEndpointIpConfigurationProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PrivateEndpointIpConfigurationProperties from the JsonReader.groupId()Get the groupId property: The ID of a group obtained from the remote resource that this private endpoint should connect to.Get the memberName property: The member name of a group obtained from the remote resource that this private endpoint should connect to.Get the privateIpAddress property: A private ip address obtained from the private endpoint's subnet.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withGroupId(String groupId) Set the groupId property: The ID of a group obtained from the remote resource that this private endpoint should connect to.withMemberName(String memberName) Set the memberName property: The member name of a group obtained from the remote resource that this private endpoint should connect to.withPrivateIpAddress(String privateIpAddress) Set the privateIpAddress property: A private ip address obtained from the private endpoint's subnet.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
PrivateEndpointIpConfigurationProperties
public PrivateEndpointIpConfigurationProperties()Creates an instance of PrivateEndpointIpConfigurationProperties class.
-
-
Method Details
-
groupId
Get the groupId property: The ID of a group obtained from the remote resource that this private endpoint should connect to.- Returns:
- the groupId value.
-
withGroupId
Set the groupId property: The ID of a group obtained from the remote resource that this private endpoint should connect to.- Parameters:
groupId- the groupId value to set.- Returns:
- the PrivateEndpointIpConfigurationProperties object itself.
-
memberName
Get the memberName property: The member name of a group obtained from the remote resource that this private endpoint should connect to.- Returns:
- the memberName value.
-
withMemberName
Set the memberName property: The member name of a group obtained from the remote resource that this private endpoint should connect to.- Parameters:
memberName- the memberName value to set.- Returns:
- the PrivateEndpointIpConfigurationProperties object itself.
-
privateIpAddress
Get the privateIpAddress property: A private ip address obtained from the private endpoint's subnet.- Returns:
- the privateIpAddress value.
-
withPrivateIpAddress
Set the privateIpAddress property: A private ip address obtained from the private endpoint's subnet.- Parameters:
privateIpAddress- the privateIpAddress value to set.- Returns:
- the PrivateEndpointIpConfigurationProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<PrivateEndpointIpConfigurationProperties>- Throws:
IOException
-
fromJson
public static PrivateEndpointIpConfigurationProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of PrivateEndpointIpConfigurationProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of PrivateEndpointIpConfigurationProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the PrivateEndpointIpConfigurationProperties.
-