Class ResponseMessageEnvelopeRemotePrivateEndpointConnection
java.lang.Object
com.azure.resourcemanager.appservice.models.ResponseMessageEnvelopeRemotePrivateEndpointConnection
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ResponseMessageEnvelopeRemotePrivateEndpointConnection>
public final class ResponseMessageEnvelopeRemotePrivateEndpointConnection
extends Object
implements com.azure.json.JsonSerializable<ResponseMessageEnvelopeRemotePrivateEndpointConnection>
Message envelope that contains the common Azure resource manager properties and the resource provider specific
content.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ResponseMessageEnvelopeRemotePrivateEndpointConnection class. -
Method Summary
Modifier and TypeMethodDescriptionerror()
Get the error property: Azure-AsyncOperation Error info.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ResponseMessageEnvelopeRemotePrivateEndpointConnection from the JsonReader.id()
Get the id property: Resource Id.identity()
Get the identity property: MSI resource.location()
Get the location property: Geographical region resource belongs to e.g.name()
Get the name property: Name of resource.plan()
Get the plan property: Azure resource manager plan.Get the properties property: Resource specific properties.sku()
Get the sku property: SKU description of the resource.status()
Get the status property: Azure-AsyncOperation Status info.tags()
Get the tags property: Tags associated with resource.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) type()
Get the type property: Type of resource e.g "Microsoft.Web/sites".void
validate()
Validates the instance.withError
(ErrorEntity error) Set the error property: Azure-AsyncOperation Error info.Set the id property: Resource Id.withIdentity
(ManagedServiceIdentity identity) Set the identity property: MSI resource.withLocation
(String location) Set the location property: Geographical region resource belongs to e.g.Set the name property: Name of resource.Set the plan property: Azure resource manager plan.withProperties
(RemotePrivateEndpointConnection properties) Set the properties property: Resource specific properties.withSku
(SkuDescription sku) Set the sku property: SKU description of the resource.withStatus
(String status) Set the status property: Azure-AsyncOperation Status info.Set the tags property: Tags associated with resource.Set the type property: Type of resource e.g "Microsoft.Web/sites".Set the zones property: Logical Availability Zones the service is hosted in.zones()
Get the zones property: Logical Availability Zones the service is hosted in.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
-
ResponseMessageEnvelopeRemotePrivateEndpointConnection
public ResponseMessageEnvelopeRemotePrivateEndpointConnection()Creates an instance of ResponseMessageEnvelopeRemotePrivateEndpointConnection class.
-
-
Method Details
-
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
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
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
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
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
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
Get the properties property: Resource specific properties.- Returns:
- the properties value.
-
withProperties
public ResponseMessageEnvelopeRemotePrivateEndpointConnection withProperties(RemotePrivateEndpointConnection properties) Set the properties property: Resource specific properties.- Parameters:
properties
- the properties value to set.- Returns:
- the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.
-
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
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
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
Get the identity property: MSI resource.- Returns:
- the identity value.
-
withIdentity
public ResponseMessageEnvelopeRemotePrivateEndpointConnection withIdentity(ManagedServiceIdentity identity) Set the identity property: MSI resource.- Parameters:
identity
- the identity value to set.- Returns:
- the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.
-
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.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<ResponseMessageEnvelopeRemotePrivateEndpointConnection>
- Throws:
IOException
-
fromJson
public static ResponseMessageEnvelopeRemotePrivateEndpointConnection fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ResponseMessageEnvelopeRemotePrivateEndpointConnection from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of ResponseMessageEnvelopeRemotePrivateEndpointConnection 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 ResponseMessageEnvelopeRemotePrivateEndpointConnection.
-