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