Class ManagedInstancePrivateEndpointConnectionInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.sql.fluent.models.ManagedInstancePrivateEndpointConnectionInner
public final class ManagedInstancePrivateEndpointConnectionInner
extends com.azure.core.management.ProxyResource
A private endpoint connection.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedInstancePrivateEndpointConnectionInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the privateEndpoint property: Private endpoint which the connection belongs to.Get the privateLinkServiceConnectionState property: Connection State of the Private Endpoint Connection.Get the provisioningState property: State of the Private Endpoint Connection.voidvalidate()Validates the instance.withPrivateEndpoint(ManagedInstancePrivateEndpointProperty privateEndpoint) Set the privateEndpoint property: Private endpoint which the connection belongs to.withPrivateLinkServiceConnectionState(ManagedInstancePrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: Connection State of the Private Endpoint Connection.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ManagedInstancePrivateEndpointConnectionInner
public ManagedInstancePrivateEndpointConnectionInner()Creates an instance of ManagedInstancePrivateEndpointConnectionInner class.
-
-
Method Details
-
privateEndpoint
Get the privateEndpoint property: Private endpoint which the connection belongs to.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
public ManagedInstancePrivateEndpointConnectionInner withPrivateEndpoint(ManagedInstancePrivateEndpointProperty privateEndpoint) Set the privateEndpoint property: Private endpoint which the connection belongs to.- Parameters:
privateEndpoint- the privateEndpoint value to set.- Returns:
- the ManagedInstancePrivateEndpointConnectionInner object itself.
-
privateLinkServiceConnectionState
Get the privateLinkServiceConnectionState property: Connection State of the Private Endpoint Connection.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public ManagedInstancePrivateEndpointConnectionInner withPrivateLinkServiceConnectionState(ManagedInstancePrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: Connection State of the Private Endpoint Connection.- Parameters:
privateLinkServiceConnectionState- the privateLinkServiceConnectionState value to set.- Returns:
- the ManagedInstancePrivateEndpointConnectionInner object itself.
-
provisioningState
Get the provisioningState property: State of the Private Endpoint Connection.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-