Class PrivateEndpointConnection
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.PrivateEndpointConnection
Private Endpoint Connection Response Properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of PrivateEndpointConnection class. -
Method Summary
Modifier and TypeMethodDescriptionGet the privateEndpoint property: Gets or sets private endpoint associated with the private endpoint connection.Get the privateLinkServiceConnectionState property: Gets or sets private link service connection state.Get the provisioningState property: Gets or sets provisioning state of the private endpoint connection.void
validate()
Validates the instance.withPrivateEndpoint
(PrivateEndpoint privateEndpoint) Set the privateEndpoint property: Gets or sets private endpoint associated with the private endpoint connection.withPrivateLinkServiceConnectionState
(PrivateLinkServiceConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: Gets or sets private link service connection state.withProvisioningState
(ProvisioningState provisioningState) Set the provisioningState property: Gets or sets provisioning state of the private endpoint connection.
-
Constructor Details
-
PrivateEndpointConnection
public PrivateEndpointConnection()Creates an instance of PrivateEndpointConnection class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: Gets or sets provisioning state of the private endpoint connection.- Returns:
- the provisioningState value.
-
withProvisioningState
Set the provisioningState property: Gets or sets provisioning state of the private endpoint connection.- Parameters:
provisioningState
- the provisioningState value to set.- Returns:
- the PrivateEndpointConnection object itself.
-
privateEndpoint
Get the privateEndpoint property: Gets or sets private endpoint associated with the private endpoint connection.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
Set the privateEndpoint property: Gets or sets private endpoint associated with the private endpoint connection.- Parameters:
privateEndpoint
- the privateEndpoint value to set.- Returns:
- the PrivateEndpointConnection object itself.
-
privateLinkServiceConnectionState
Get the privateLinkServiceConnectionState property: Gets or sets private link service connection state.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public PrivateEndpointConnection withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: Gets or sets private link service connection state.- Parameters:
privateLinkServiceConnectionState
- the privateLinkServiceConnectionState value to set.- Returns:
- the PrivateEndpointConnection object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-