ResponseMessageEnvelopeRemotePrivateEndpointConnection Class

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

Implements

public final class ResponseMessageEnvelopeRemotePrivateEndpointConnection
implements JsonSerializable<ResponseMessageEnvelopeRemotePrivateEndpointConnection>

Message envelope that contains the common Azure resource manager properties and the resource provider specific content.

Constructor Summary

Constructor Description
ResponseMessageEnvelopeRemotePrivateEndpointConnection()

Creates an instance of ResponseMessageEnvelopeRemotePrivateEndpointConnection class.

Method Summary

Modifier and Type Method and Description
ErrorEntity error()

Get the error property: Azure-AsyncOperation Error info.

static ResponseMessageEnvelopeRemotePrivateEndpointConnection fromJson(JsonReader jsonReader)

Reads an instance of ResponseMessageEnvelopeRemotePrivateEndpointConnection from the JsonReader.

String id()

Get the id property: Resource Id.

ManagedServiceIdentity identity()

Get the identity property: MSI resource.

String location()

Get the location property: Geographical region resource belongs to e.g.

String name()

Get the name property: Name of resource.

ArmPlan plan()

Get the plan property: Azure resource manager plan.

RemotePrivateEndpointConnection properties()

Get the properties property: Resource specific properties.

SkuDescription sku()

Get the sku property: SKU description of the resource.

String status()

Get the status property: Azure-AsyncOperation Status info.

Map<String,String> tags()

Get the tags property: Tags associated with resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of resource e.g "Microsoft.Web/sites".

void validate()

Validates the instance.

ResponseMessageEnvelopeRemotePrivateEndpointConnection withError(ErrorEntity error)

Set the error property: Azure-AsyncOperation Error info.

ResponseMessageEnvelopeRemotePrivateEndpointConnection withId(String id)

Set the id property: Resource Id.

ResponseMessageEnvelopeRemotePrivateEndpointConnection withIdentity(ManagedServiceIdentity identity)

Set the identity property: MSI resource.

ResponseMessageEnvelopeRemotePrivateEndpointConnection withLocation(String location)

Set the location property: Geographical region resource belongs to e.g.

ResponseMessageEnvelopeRemotePrivateEndpointConnection withName(String name)

Set the name property: Name of resource.

ResponseMessageEnvelopeRemotePrivateEndpointConnection withPlan(ArmPlan plan)

Set the plan property: Azure resource manager plan.

ResponseMessageEnvelopeRemotePrivateEndpointConnection withProperties(RemotePrivateEndpointConnection properties)

Set the properties property: Resource specific properties.

ResponseMessageEnvelopeRemotePrivateEndpointConnection withSku(SkuDescription sku)

Set the sku property: SKU description of the resource.

ResponseMessageEnvelopeRemotePrivateEndpointConnection withStatus(String status)

Set the status property: Azure-AsyncOperation Status info.

ResponseMessageEnvelopeRemotePrivateEndpointConnection withTags(Map<String,String> tags)

Set the tags property: Tags associated with resource.

ResponseMessageEnvelopeRemotePrivateEndpointConnection withType(String type)

Set the type property: Type of resource e.g "Microsoft.Web/sites".

ResponseMessageEnvelopeRemotePrivateEndpointConnection withZones(List<String> zones)

Set the zones property: Logical Availability Zones the service is hosted in.

List<String> zones()

Get the zones property: Logical Availability Zones the service is hosted in.

Methods inherited from java.lang.Object

Constructor Details

ResponseMessageEnvelopeRemotePrivateEndpointConnection

public ResponseMessageEnvelopeRemotePrivateEndpointConnection()

Creates an instance of ResponseMessageEnvelopeRemotePrivateEndpointConnection class.

Method Details

error

public ErrorEntity error()

Get the error property: Azure-AsyncOperation Error info.

Returns:

the error value.

fromJson

public static ResponseMessageEnvelopeRemotePrivateEndpointConnection fromJson(JsonReader jsonReader)

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.

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.

identity

public ManagedServiceIdentity identity()

Get the identity property: MSI resource.

Returns:

the identity value.

location

public String location()

Get the location property: Geographical region resource belongs to e.g. SouthCentralUS, SouthEastAsia.

Returns:

the location value.

name

public String name()

Get the name property: Name of resource.

Returns:

the name value.

plan

public ArmPlan plan()

Get the plan property: Azure resource manager plan.

Returns:

the plan value.

properties

public RemotePrivateEndpointConnection properties()

Get the properties property: Resource specific properties.

Returns:

the properties value.

sku

public SkuDescription sku()

Get the sku property: SKU description of the resource.

Returns:

the sku value.

status

public String status()

Get the status property: Azure-AsyncOperation Status info.

Returns:

the status value.

tags

public Map tags()

Get the tags property: Tags associated with resource.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of resource e.g "Microsoft.Web/sites".

Returns:

the type value.

validate

public void validate()

Validates the instance.

withError

public ResponseMessageEnvelopeRemotePrivateEndpointConnection withError(ErrorEntity error)

Set the error property: Azure-AsyncOperation Error info.

Parameters:

error - the error value to set.

Returns:

the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.

withId

public ResponseMessageEnvelopeRemotePrivateEndpointConnection withId(String id)

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.

withIdentity

public ResponseMessageEnvelopeRemotePrivateEndpointConnection withIdentity(ManagedServiceIdentity identity)

Set the identity property: MSI resource.

Parameters:

identity - the identity value to set.

Returns:

the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.

withLocation

public ResponseMessageEnvelopeRemotePrivateEndpointConnection withLocation(String location)

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.

withName

public ResponseMessageEnvelopeRemotePrivateEndpointConnection withName(String name)

Set the name property: Name of resource.

Parameters:

name - the name value to set.

Returns:

the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.

withPlan

public ResponseMessageEnvelopeRemotePrivateEndpointConnection withPlan(ArmPlan plan)

Set the plan property: Azure resource manager plan.

Parameters:

plan - the plan value to set.

Returns:

the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.

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.

withSku

public ResponseMessageEnvelopeRemotePrivateEndpointConnection withSku(SkuDescription sku)

Set the sku property: SKU description of the resource.

Parameters:

sku - the sku value to set.

Returns:

the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.

withStatus

public ResponseMessageEnvelopeRemotePrivateEndpointConnection withStatus(String status)

Set the status property: Azure-AsyncOperation Status info.

Parameters:

status - the status value to set.

Returns:

the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.

withTags

public ResponseMessageEnvelopeRemotePrivateEndpointConnection withTags(Map tags)

Set the tags property: Tags associated with resource.

Parameters:

tags - the tags value to set.

Returns:

the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.

withType

public ResponseMessageEnvelopeRemotePrivateEndpointConnection withType(String type)

Set the type property: Type of resource e.g "Microsoft.Web/sites".

Parameters:

type - the type value to set.

Returns:

the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.

withZones

public ResponseMessageEnvelopeRemotePrivateEndpointConnection withZones(List zones)

Set the zones property: Logical Availability Zones the service is hosted in.

Parameters:

zones - the zones value to set.

Returns:

the ResponseMessageEnvelopeRemotePrivateEndpointConnection object itself.

zones

public List zones()

Get the zones property: Logical Availability Zones the service is hosted in.

Returns:

the zones value.

Applies to