Class RemotePrivateEndpointConnectionWrapper

java.lang.Object
com.azure.resourcemanager.apimanagement.models.RemotePrivateEndpointConnectionWrapper
All Implemented Interfaces:
com.azure.json.JsonSerializable<RemotePrivateEndpointConnectionWrapper>

public final class RemotePrivateEndpointConnectionWrapper extends Object implements com.azure.json.JsonSerializable<RemotePrivateEndpointConnectionWrapper>
Remote Private Endpoint Connection resource.
  • Constructor Details

    • RemotePrivateEndpointConnectionWrapper

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

    • id

      public String id()
      Get the id property: Private Endpoint connection resource id.
      Returns:
      the id value.
    • withId

      Set the id property: Private Endpoint connection resource id.
      Parameters:
      id - the id value to set.
      Returns:
      the RemotePrivateEndpointConnectionWrapper object itself.
    • name

      public String name()
      Get the name property: Private Endpoint Connection Name.
      Returns:
      the name value.
    • withName

      Set the name property: Private Endpoint Connection Name.
      Parameters:
      name - the name value to set.
      Returns:
      the RemotePrivateEndpointConnectionWrapper object itself.
    • type

      public String type()
      Get the type property: Private Endpoint Connection Resource Type.
      Returns:
      the type value.
    • withType

      Set the type property: Private Endpoint Connection Resource Type.
      Parameters:
      type - the type value to set.
      Returns:
      the RemotePrivateEndpointConnectionWrapper object itself.
    • privateEndpoint

      public ArmIdWrapper privateEndpoint()
      Get the privateEndpoint property: The resource of private end point.
      Returns:
      the privateEndpoint value.
    • withPrivateEndpoint

      public RemotePrivateEndpointConnectionWrapper withPrivateEndpoint(ArmIdWrapper privateEndpoint)
      Set the privateEndpoint property: The resource of private end point.
      Parameters:
      privateEndpoint - the privateEndpoint value to set.
      Returns:
      the RemotePrivateEndpointConnectionWrapper object itself.
    • privateLinkServiceConnectionState

      public PrivateLinkServiceConnectionState privateLinkServiceConnectionState()
      Get the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.
      Returns:
      the privateLinkServiceConnectionState value.
    • withPrivateLinkServiceConnectionState

      public RemotePrivateEndpointConnectionWrapper withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)
      Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.
      Parameters:
      privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.
      Returns:
      the RemotePrivateEndpointConnectionWrapper object itself.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: The provisioning state of the private endpoint connection resource.
      Returns:
      the provisioningState value.
    • groupIds

      public List<String> groupIds()
      Get the groupIds property: All the Group ids.
      Returns:
      the groupIds value.
    • 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<RemotePrivateEndpointConnectionWrapper>
      Throws:
      IOException
    • fromJson

      public static RemotePrivateEndpointConnectionWrapper fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of RemotePrivateEndpointConnectionWrapper from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of RemotePrivateEndpointConnectionWrapper 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 RemotePrivateEndpointConnectionWrapper.