Class PrivateEndpointConnection
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.PrivateEndpointConnection
-
public final class PrivateEndpointConnection extends Object
Private Endpoint Connection Response Properties.
-
-
Constructor Summary
Constructors Constructor Description PrivateEndpointConnection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateEndpoint
privateEndpoint()
Get the privateEndpoint property: Gets or sets private endpoint associated with the private endpoint connection.PrivateLinkServiceConnectionState
privateLinkServiceConnectionState()
Get the privateLinkServiceConnectionState property: Gets or sets private link service connection state.ProvisioningState
provisioningState()
Get the provisioningState property: Gets or sets provisioning state of the private endpoint connection.void
validate()
Validates the instance.PrivateEndpointConnection
withPrivateEndpoint(PrivateEndpoint privateEndpoint)
Set the privateEndpoint property: Gets or sets private endpoint associated with the private endpoint connection.PrivateEndpointConnection
withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)
Set the privateLinkServiceConnectionState property: Gets or sets private link service connection state.PrivateEndpointConnection
withProvisioningState(ProvisioningState provisioningState)
Set the provisioningState property: Gets or sets provisioning state of the private endpoint connection.
-
-
-
Method Detail
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Gets or sets provisioning state of the private endpoint connection.- Returns:
- the provisioningState value.
-
withProvisioningState
public PrivateEndpointConnection withProvisioningState(ProvisioningState provisioningState)
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
public PrivateEndpoint privateEndpoint()
Get the privateEndpoint property: Gets or sets private endpoint associated with the private endpoint connection.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
public PrivateEndpointConnection withPrivateEndpoint(PrivateEndpoint privateEndpoint)
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
public PrivateLinkServiceConnectionState 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.
-
-