PrivateEndpointIpConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.PrivateEndpointIpConfiguration

Implements

public final class PrivateEndpointIpConfiguration
implements JsonSerializable<PrivateEndpointIpConfiguration>

An IP Configuration of the private endpoint.

Constructor Summary

Constructor Description
PrivateEndpointIpConfiguration()

Creates an instance of PrivateEndpointIpConfiguration class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static PrivateEndpointIpConfiguration fromJson(JsonReader jsonReader)

Reads an instance of PrivateEndpointIpConfiguration from the JsonReader.

String groupId()

Get the groupId property: The ID of a group obtained from the remote resource that this private endpoint should connect to.

String memberName()

Get the memberName property: The member name of a group obtained from the remote resource that this private endpoint should connect to.

String name()

Get the name property: The name of the resource that is unique within a resource group.

String privateIpAddress()

Get the privateIpAddress property: A private ip address obtained from the private endpoint's subnet.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The resource type.

void validate()

Validates the instance.

PrivateEndpointIpConfiguration withGroupId(String groupId)

Set the groupId property: The ID of a group obtained from the remote resource that this private endpoint should connect to.

PrivateEndpointIpConfiguration 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.

PrivateEndpointIpConfiguration withName(String name)

Set the name property: The name of the resource that is unique within a resource group.

PrivateEndpointIpConfiguration withPrivateIpAddress(String privateIpAddress)

Set the privateIpAddress property: A private ip address obtained from the private endpoint's subnet.

Methods inherited from java.lang.Object

Constructor Details

PrivateEndpointIpConfiguration

public PrivateEndpointIpConfiguration()

Creates an instance of PrivateEndpointIpConfiguration class.

Method Details

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static PrivateEndpointIpConfiguration fromJson(JsonReader jsonReader)

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.

groupId

public String 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.

memberName

public String 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.

name

public String name()

Get the name property: The name of the resource that is unique within a resource group.

Returns:

the name value.

privateIpAddress

public String privateIpAddress()

Get the privateIpAddress property: A private ip address obtained from the private endpoint's subnet.

Returns:

the privateIpAddress value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withGroupId

public PrivateEndpointIpConfiguration withGroupId(String groupId)

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.

withMemberName

public PrivateEndpointIpConfiguration 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.

Parameters:

memberName - the memberName value to set.

Returns:

the PrivateEndpointIpConfiguration object itself.

withName

public PrivateEndpointIpConfiguration withName(String name)

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.

withPrivateIpAddress

public PrivateEndpointIpConfiguration withPrivateIpAddress(String privateIpAddress)

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.

Applies to