Class PrivateEndpointConnectionProperties
java.lang.Object
com.azure.resourcemanager.mariadb.fluent.models.PrivateEndpointConnectionProperties
Properties of a private endpoint connection.
-
Constructor Summary
ConstructorDescriptionCreates an instance of PrivateEndpointConnectionProperties 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.void
validate()
Validates the instance.withPrivateEndpoint
(PrivateEndpointProperty privateEndpoint) Set the privateEndpoint property: Private endpoint which the connection belongs to.withPrivateLinkServiceConnectionState
(PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: Connection state of the private endpoint connection.
-
Constructor Details
-
PrivateEndpointConnectionProperties
public PrivateEndpointConnectionProperties()Creates an instance of PrivateEndpointConnectionProperties class.
-
-
Method Details
-
privateEndpoint
Get the privateEndpoint property: Private endpoint which the connection belongs to.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
public PrivateEndpointConnectionProperties withPrivateEndpoint(PrivateEndpointProperty privateEndpoint) Set the privateEndpoint property: Private endpoint which the connection belongs to.- Parameters:
privateEndpoint
- the privateEndpoint value to set.- Returns:
- the PrivateEndpointConnectionProperties object itself.
-
privateLinkServiceConnectionState
Get the privateLinkServiceConnectionState property: Connection state of the private endpoint connection.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public PrivateEndpointConnectionProperties withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: Connection state of the private endpoint connection.- Parameters:
privateLinkServiceConnectionState
- the privateLinkServiceConnectionState value to set.- Returns:
- the PrivateEndpointConnectionProperties 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.
-