Class PrivateEndpointConnectionInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.cognitiveservices.models.AzureEntityResource
-
- com.azure.resourcemanager.cognitiveservices.fluent.models.PrivateEndpointConnectionInner
-
public final class PrivateEndpointConnectionInner extends AzureEntityResource
The Private Endpoint Connection resource.
-
-
Constructor Summary
Constructors Constructor Description PrivateEndpointConnectionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
location()
Get the location property: The location of the private endpoint connection.PrivateEndpointConnectionProperties
properties()
Get the properties property: Resource properties.com.azure.core.management.SystemData
systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.PrivateEndpointConnectionInner
withLocation(String location)
Set the location property: The location of the private endpoint connection.PrivateEndpointConnectionInner
withProperties(PrivateEndpointConnectionProperties properties)
Set the properties property: Resource properties.-
Methods inherited from class com.azure.resourcemanager.cognitiveservices.models.AzureEntityResource
etag
-
-
-
-
Method Detail
-
properties
public PrivateEndpointConnectionProperties properties()
Get the properties property: Resource properties.- Returns:
- the properties value.
-
withProperties
public PrivateEndpointConnectionInner withProperties(PrivateEndpointConnectionProperties properties)
Set the properties property: Resource properties.- Parameters:
properties
- the properties value to set.- Returns:
- the PrivateEndpointConnectionInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
location
public String location()
Get the location property: The location of the private endpoint connection.- Returns:
- the location value.
-
withLocation
public PrivateEndpointConnectionInner withLocation(String location)
Set the location property: The location of the private endpoint connection.- Parameters:
location
- the location value to set.- Returns:
- the PrivateEndpointConnectionInner object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAzureEntityResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-