Class RemotePrivateEndpointConnectionArmResourceProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.RemotePrivateEndpointConnectionArmResourceProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RemotePrivateEndpointConnectionArmResourceProperties>
public final class RemotePrivateEndpointConnectionArmResourceProperties
extends Object
implements com.azure.json.JsonSerializable<RemotePrivateEndpointConnectionArmResourceProperties>
RemotePrivateEndpointConnectionARMResource resource specific properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RemotePrivateEndpointConnectionArmResourceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of RemotePrivateEndpointConnectionArmResourceProperties 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
-
RemotePrivateEndpointConnectionArmResourceProperties
public RemotePrivateEndpointConnectionArmResourceProperties()Creates an instance of RemotePrivateEndpointConnectionArmResourceProperties 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
public RemotePrivateEndpointConnectionArmResourceProperties withPrivateEndpoint(ArmIdWrapper privateEndpoint) Set the privateEndpoint property: PrivateEndpoint of a remote private endpoint connection.- Parameters:
privateEndpoint
- the privateEndpoint value to set.- Returns:
- the RemotePrivateEndpointConnectionArmResourceProperties object itself.
-
privateLinkServiceConnectionState
Get the privateLinkServiceConnectionState property: The state of a private link connection.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public RemotePrivateEndpointConnectionArmResourceProperties withPrivateLinkServiceConnectionState(PrivateLinkConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: The state of a private link connection.- Parameters:
privateLinkServiceConnectionState
- the privateLinkServiceConnectionState value to set.- Returns:
- the RemotePrivateEndpointConnectionArmResourceProperties object itself.
-
ipAddresses
Get the ipAddresses property: Private IPAddresses mapped to the remote private endpoint.- Returns:
- the ipAddresses value.
-
withIpAddresses
public RemotePrivateEndpointConnectionArmResourceProperties withIpAddresses(List<String> ipAddresses) Set the ipAddresses property: Private IPAddresses mapped to the remote private endpoint.- Parameters:
ipAddresses
- the ipAddresses value to set.- Returns:
- the RemotePrivateEndpointConnectionArmResourceProperties 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<RemotePrivateEndpointConnectionArmResourceProperties>
- Throws:
IOException
-
fromJson
public static RemotePrivateEndpointConnectionArmResourceProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of RemotePrivateEndpointConnectionArmResourceProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of RemotePrivateEndpointConnectionArmResourceProperties 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 RemotePrivateEndpointConnectionArmResourceProperties.
-