Class PrivateEndpointConnectionWithSystemDataInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.desktopvirtualization.models.PrivateEndpointConnection
com.azure.resourcemanager.desktopvirtualization.fluent.models.PrivateEndpointConnectionWithSystemDataInner
The Private Endpoint Connection resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.withPrivateEndpoint
(PrivateEndpoint privateEndpoint) Set the privateEndpoint property: The resource of private end point.withPrivateLinkServiceConnectionState
(PrivateLinkServiceConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.withProvisioningState
(PrivateEndpointConnectionProvisioningState provisioningState) Set the provisioningState property: The provisioning state of the private endpoint connection resource.Methods inherited from class com.azure.resourcemanager.desktopvirtualization.models.PrivateEndpointConnection
privateEndpoint, privateLinkServiceConnectionState, provisioningState
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
PrivateEndpointConnectionWithSystemDataInner
public PrivateEndpointConnectionWithSystemDataInner()
-
-
Method Details
-
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.
-
withPrivateEndpoint
public PrivateEndpointConnectionWithSystemDataInner withPrivateEndpoint(PrivateEndpoint privateEndpoint) Set the privateEndpoint property: The resource of private end point.- Overrides:
withPrivateEndpoint
in classPrivateEndpointConnection
- Parameters:
privateEndpoint
- the privateEndpoint value to set.- Returns:
- the PrivateEndpointConnection object itself.
-
withPrivateLinkServiceConnectionState
public PrivateEndpointConnectionWithSystemDataInner withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.- Overrides:
withPrivateLinkServiceConnectionState
in classPrivateEndpointConnection
- Parameters:
privateLinkServiceConnectionState
- the privateLinkServiceConnectionState value to set.- Returns:
- the PrivateEndpointConnection object itself.
-
withProvisioningState
public PrivateEndpointConnectionWithSystemDataInner withProvisioningState(PrivateEndpointConnectionProvisioningState provisioningState) Set the provisioningState property: The provisioning state of the private endpoint connection resource.- Overrides:
withProvisioningState
in classPrivateEndpointConnection
- Parameters:
provisioningState
- the provisioningState value to set.- Returns:
- the PrivateEndpointConnection object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classPrivateEndpointConnection
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-