Class PrivateEndpointIpConfiguration
java.lang.Object
com.azure.resourcemanager.network.models.PrivateEndpointIpConfiguration
- All Implemented Interfaces:
com.azure.json.JsonSerializable<PrivateEndpointIpConfiguration>
public final class PrivateEndpointIpConfiguration
extends Object
implements com.azure.json.JsonSerializable<PrivateEndpointIpConfiguration>
An IP Configuration of the private endpoint.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PrivateEndpointIpConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PrivateEndpointIpConfiguration 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.name()Get the name property: The name of the resource that is unique within a resource group.Get the privateIpAddress property: A private ip address obtained from the private endpoint's subnet.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The resource type.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.Set the name property: The name of the resource that is unique within a resource group.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
-
PrivateEndpointIpConfiguration
public PrivateEndpointIpConfiguration()Creates an instance of PrivateEndpointIpConfiguration class.
-
-
Method Details
-
name
Get the name property: The name of the resource that is unique within a resource group.- Returns:
- the name value.
-
withName
Set the name property: The name of the resource that is unique within a resource group.- Parameters:
name- the name value to set.- Returns:
- the PrivateEndpointIpConfiguration object itself.
-
type
Get the type property: The resource type.- Returns:
- the type value.
-
etag
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
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 PrivateEndpointIpConfiguration 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 PrivateEndpointIpConfiguration 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 PrivateEndpointIpConfiguration 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<PrivateEndpointIpConfiguration>- Throws:
IOException
-
fromJson
public static PrivateEndpointIpConfiguration fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of PrivateEndpointIpConfiguration from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of PrivateEndpointIpConfiguration 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 PrivateEndpointIpConfiguration.
-