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 Summary
Constructors Constructor Description ResponseMessageEnvelopeRemotePrivateEndpointConnection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorEntityerror()Get the error property: Azure-AsyncOperation Error info.Stringid()Get the id property: Resource Id.ManagedServiceIdentityidentity()Get the identity property: MSI resource.Stringlocation()Get the location property: Geographical region resource belongs to e.g.Stringname()Get the name property: Name of resource.ArmPlanplan()Get the plan property: Azure resource manager plan.RemotePrivateEndpointConnectionproperties()Get the properties property: Resource specific properties.SkuDescriptionsku()Get the sku property: SKU description of the resource.Stringstatus()Get the status property: Azure-AsyncOperation Status info.Map<String,String>tags()Get the tags property: Tags associated with resource.Stringtype()Get the type property: Type of resource e.g "Microsoft.Web/sites".voidvalidate()Validates the instance.ResponseMessageEnvelopeRemotePrivateEndpointConnectionwithError(ErrorEntity error)Set the error property: Azure-AsyncOperation Error info.ResponseMessageEnvelopeRemotePrivateEndpointConnectionwithId(String id)Set the id property: Resource Id.ResponseMessageEnvelopeRemotePrivateEndpointConnectionwithIdentity(ManagedServiceIdentity identity)Set the identity property: MSI resource.ResponseMessageEnvelopeRemotePrivateEndpointConnectionwithLocation(String location)Set the location property: Geographical region resource belongs to e.g.ResponseMessageEnvelopeRemotePrivateEndpointConnectionwithName(String name)Set the name property: Name of resource.ResponseMessageEnvelopeRemotePrivateEndpointConnectionwithPlan(ArmPlan plan)Set the plan property: Azure resource manager plan.ResponseMessageEnvelopeRemotePrivateEndpointConnectionwithProperties(RemotePrivateEndpointConnection properties)Set the properties property: Resource specific properties.ResponseMessageEnvelopeRemotePrivateEndpointConnectionwithSku(SkuDescription sku)Set the sku property: SKU description of the resource.ResponseMessageEnvelopeRemotePrivateEndpointConnectionwithStatus(String status)Set the status property: Azure-AsyncOperation Status info.ResponseMessageEnvelopeRemotePrivateEndpointConnectionwithTags(Map<String,String> tags)Set the tags property: Tags associated with resource.ResponseMessageEnvelopeRemotePrivateEndpointConnectionwithType(String type)Set the type property: Type of resource e.g "Microsoft.Web/sites".ResponseMessageEnvelopeRemotePrivateEndpointConnectionwithZones(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.
-
-
-
Method Detail
-
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
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.
-
name
public String name()
Get the name property: Name of resource.- Returns:
- the name value.
-
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.
-
type
public String type()
Get the type property: Type of resource e.g "Microsoft.Web/sites".- Returns:
- the type value.
-
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.
-
location
public String location()
Get the location property: Geographical region resource belongs to e.g. SouthCentralUS, SouthEastAsia.- Returns:
- the location value.
-
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.
-
tags
public Map<String,String> tags()
Get the tags property: Tags associated with resource.- Returns:
- the tags value.
-
withTags
public ResponseMessageEnvelopeRemotePrivateEndpointConnection withTags(Map<String,String> tags)
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
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.
-
properties
public RemotePrivateEndpointConnection 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
public SkuDescription sku()
Get the sku property: SKU description of the resource.- Returns:
- the sku value.
-
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.
-
status
public String status()
Get the status property: Azure-AsyncOperation Status info.- Returns:
- the status value.
-
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.
-
error
public ErrorEntity error()
Get the error property: Azure-AsyncOperation Error info.- Returns:
- the error value.
-
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.
-
identity
public ManagedServiceIdentity 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
public List<String> zones()
Get the zones property: Logical Availability Zones the service is hosted in.- Returns:
- the zones value.
-
withZones
public ResponseMessageEnvelopeRemotePrivateEndpointConnection withZones(List<String> 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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-