Class ResponseMessageEnvelopeRemotePrivateEndpointConnection

java.lang.Object
com.azure.resourcemanager.appservice.models.ResponseMessageEnvelopeRemotePrivateEndpointConnection

public final class ResponseMessageEnvelopeRemotePrivateEndpointConnection extends Object
Message envelope that contains the common Azure resource manager properties and the resource provider specific content.
  • Constructor Details

    • ResponseMessageEnvelopeRemotePrivateEndpointConnection

      public ResponseMessageEnvelopeRemotePrivateEndpointConnection()
  • Method Details

    • id

      public String id()
      Get the id property: Resource Id. Typically ID is populated only for responses to GET requests. Caller is responsible for passing in this value for GET requests only. For example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupId}/providers/Microsoft.Web/sites/{sitename}.
      Returns:
      the id value.
    • withId

      Set the id property: Resource Id. Typically ID is populated only for responses to GET requests. Caller is responsible for passing in this value for GET requests only. For example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupId}/providers/Microsoft.Web/sites/{sitename}.
      Parameters:
      id - the id value to set.
      Returns:
      the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.
    • name

      public String name()
      Get the name property: Name of resource.
      Returns:
      the name value.
    • withName

      Set the name property: Name of resource.
      Parameters:
      name - the name value to set.
      Returns:
      the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.
    • type

      public String type()
      Get the type property: Type of resource e.g "Microsoft.Web/sites".
      Returns:
      the type value.
    • withType

      Set the type property: Type of resource e.g "Microsoft.Web/sites".
      Parameters:
      type - the type value to set.
      Returns:
      the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.
    • location

      public String location()
      Get the location property: Geographical region resource belongs to e.g. SouthCentralUS, SouthEastAsia.
      Returns:
      the location value.
    • withLocation

      Set the location property: Geographical region resource belongs to e.g. SouthCentralUS, SouthEastAsia.
      Parameters:
      location - the location value to set.
      Returns:
      the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.
    • tags

      public Map<String,String> tags()
      Get the tags property: Tags associated with resource.
      Returns:
      the tags value.
    • withTags

      Set the tags property: Tags associated with resource.
      Parameters:
      tags - the tags value to set.
      Returns:
      the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.
    • plan

      public ArmPlan plan()
      Get the plan property: Azure resource manager plan.
      Returns:
      the plan value.
    • withPlan

      Set the plan property: Azure resource manager plan.
      Parameters:
      plan - the plan value to set.
      Returns:
      the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.
    • properties

      public RemotePrivateEndpointConnection properties()
      Get the properties property: Resource specific properties.
      Returns:
      the properties value.
    • withProperties

      Set the properties property: Resource specific properties.
      Parameters:
      properties - the properties value to set.
      Returns:
      the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.
    • sku

      public SkuDescription sku()
      Get the sku property: SKU description of the resource.
      Returns:
      the sku value.
    • withSku

      Set the sku property: SKU description of the resource.
      Parameters:
      sku - the sku value to set.
      Returns:
      the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.
    • status

      public String status()
      Get the status property: Azure-AsyncOperation Status info.
      Returns:
      the status value.
    • withStatus

      Set the status property: Azure-AsyncOperation Status info.
      Parameters:
      status - the status value to set.
      Returns:
      the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.
    • error

      public ErrorEntity error()
      Get the error property: Azure-AsyncOperation Error info.
      Returns:
      the error value.
    • withError

      Set the error property: Azure-AsyncOperation Error info.
      Parameters:
      error - the error value to set.
      Returns:
      the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.
    • identity

      public ManagedServiceIdentity identity()
      Get the identity property: MSI resource.
      Returns:
      the identity value.
    • withIdentity

      Set the identity property: MSI resource.
      Parameters:
      identity - the identity value to set.
      Returns:
      the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.
    • zones

      public List<String> zones()
      Get the zones property: Logical Availability Zones the service is hosted in.
      Returns:
      the zones value.
    • withZones

      Set the zones property: Logical Availability Zones the service is hosted in.
      Parameters:
      zones - the zones value to set.
      Returns:
      the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.
    • validate

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