Class ManagedInstancePrivateEndpointConnectionProperties
java.lang.Object
com.azure.resourcemanager.sql.fluent.models.ManagedInstancePrivateEndpointConnectionProperties
Properties of a private endpoint connection.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedInstancePrivateEndpointConnectionProperties 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.
-
Constructor Details
-
ManagedInstancePrivateEndpointConnectionProperties
public ManagedInstancePrivateEndpointConnectionProperties()Creates an instance of ManagedInstancePrivateEndpointConnectionProperties class.
-
-
Method Details
-
privateEndpoint
Get the privateEndpoint property: Private endpoint which the connection belongs to.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
public ManagedInstancePrivateEndpointConnectionProperties withPrivateEndpoint(ManagedInstancePrivateEndpointProperty privateEndpoint) Set the privateEndpoint property: Private endpoint which the connection belongs to.- Parameters:
privateEndpoint- the privateEndpoint value to set.- Returns:
- the ManagedInstancePrivateEndpointConnectionProperties object itself.
-
privateLinkServiceConnectionState
Get the privateLinkServiceConnectionState property: Connection State of the Private Endpoint Connection.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public ManagedInstancePrivateEndpointConnectionProperties withPrivateLinkServiceConnectionState(ManagedInstancePrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: Connection State of the Private Endpoint Connection.- Parameters:
privateLinkServiceConnectionState- the privateLinkServiceConnectionState value to set.- Returns:
- the ManagedInstancePrivateEndpointConnectionProperties 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.
-