Class RemotePrivateEndpointConnectionProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.RemotePrivateEndpointConnectionProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RemotePrivateEndpointConnectionProperties>
public final class RemotePrivateEndpointConnectionProperties
extends Object
implements com.azure.json.JsonSerializable<RemotePrivateEndpointConnectionProperties>
RemotePrivateEndpointConnection resource specific properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RemotePrivateEndpointConnectionProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of RemotePrivateEndpointConnectionProperties from the JsonReader.Get the ipAddresses property: Private IPAddresses mapped to the remote private endpoint.Get the privateEndpoint property: PrivateEndpoint of a remote private endpoint connection.Get the privateLinkServiceConnectionState property: The state of a private link connection.Get the provisioningState property: The provisioningState property.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withIpAddresses
(List<String> ipAddresses) Set the ipAddresses property: Private IPAddresses mapped to the remote private endpoint.withPrivateEndpoint
(ArmIdWrapper privateEndpoint) Set the privateEndpoint property: PrivateEndpoint of a remote private endpoint connection.withPrivateLinkServiceConnectionState
(PrivateLinkConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: The state of a private link connection.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
RemotePrivateEndpointConnectionProperties
public RemotePrivateEndpointConnectionProperties()Creates an instance of RemotePrivateEndpointConnectionProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: The provisioningState property.- Returns:
- the provisioningState value.
-
privateEndpoint
Get the privateEndpoint property: PrivateEndpoint of a remote private endpoint connection.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
Set the privateEndpoint property: PrivateEndpoint of a remote private endpoint connection.- Parameters:
privateEndpoint
- the privateEndpoint value to set.- Returns:
- the RemotePrivateEndpointConnectionProperties object itself.
-
privateLinkServiceConnectionState
Get the privateLinkServiceConnectionState property: The state of a private link connection.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public RemotePrivateEndpointConnectionProperties withPrivateLinkServiceConnectionState(PrivateLinkConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: The state of a private link connection.- Parameters:
privateLinkServiceConnectionState
- the privateLinkServiceConnectionState value to set.- Returns:
- the RemotePrivateEndpointConnectionProperties object itself.
-
ipAddresses
Get the ipAddresses property: Private IPAddresses mapped to the remote private endpoint.- Returns:
- the ipAddresses value.
-
withIpAddresses
Set the ipAddresses property: Private IPAddresses mapped to the remote private endpoint.- Parameters:
ipAddresses
- the ipAddresses value to set.- Returns:
- the RemotePrivateEndpointConnectionProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<RemotePrivateEndpointConnectionProperties>
- Throws:
IOException
-
fromJson
public static RemotePrivateEndpointConnectionProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of RemotePrivateEndpointConnectionProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of RemotePrivateEndpointConnectionProperties 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 RemotePrivateEndpointConnectionProperties.
-