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 Details

    • RemotePrivateEndpointConnectionProperties

      public RemotePrivateEndpointConnectionProperties()
      Creates an instance of RemotePrivateEndpointConnectionProperties class.
  • Method Details

    • provisioningState

      public String provisioningState()
      Get the provisioningState property: The provisioningState property.
      Returns:
      the provisioningState value.
    • privateEndpoint

      public ArmIdWrapper privateEndpoint()
      Get the privateEndpoint property: PrivateEndpoint of a remote private endpoint connection.
      Returns:
      the privateEndpoint value.
    • withPrivateEndpoint

      public RemotePrivateEndpointConnectionProperties withPrivateEndpoint(ArmIdWrapper privateEndpoint)
      Set the privateEndpoint property: PrivateEndpoint of a remote private endpoint connection.
      Parameters:
      privateEndpoint - the privateEndpoint value to set.
      Returns:
      the RemotePrivateEndpointConnectionProperties object itself.
    • privateLinkServiceConnectionState

      public PrivateLinkConnectionState 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

      public List<String> ipAddresses()
      Get the ipAddresses property: Private IPAddresses mapped to the remote private endpoint.
      Returns:
      the ipAddresses value.
    • withIpAddresses

      public RemotePrivateEndpointConnectionProperties 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 RemotePrivateEndpointConnectionProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.