ServerPrivateEndpointConnectionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. postgresql. models. ServerPrivateEndpointConnectionProperties
- com.
Implements
public final class ServerPrivateEndpointConnectionProperties
implements JsonSerializable<ServerPrivateEndpointConnectionProperties>
Properties of a private endpoint connection.
Constructor Summary
| Constructor | Description |
|---|---|
| ServerPrivateEndpointConnectionProperties() |
Creates an instance of Server |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
|
Private |
privateEndpoint()
Get the private |
|
Server |
privateLinkServiceConnectionState()
Get the private |
|
Private |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Server |
withPrivateEndpoint(PrivateEndpointProperty privateEndpoint)
Set the private |
|
Server |
withPrivateLinkServiceConnectionState(ServerPrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState)
Set the private |
Methods inherited from java.lang.Object
Constructor Details
ServerPrivateEndpointConnectionProperties
public ServerPrivateEndpointConnectionProperties()
Creates an instance of ServerPrivateEndpointConnectionProperties class.
Method Details
fromJson
public static ServerPrivateEndpointConnectionProperties fromJson(JsonReader jsonReader)
Reads an instance of ServerPrivateEndpointConnectionProperties from the JsonReader.
Parameters:
Returns:
Throws:
privateEndpoint
public PrivateEndpointProperty privateEndpoint()
Get the privateEndpoint property: Private endpoint which the connection belongs to.
Returns:
privateLinkServiceConnectionState
public ServerPrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState()
Get the privateLinkServiceConnectionState property: Connection state of the private endpoint connection.
Returns:
provisioningState
public PrivateEndpointProvisioningState provisioningState()
Get the provisioningState property: State of the private endpoint connection.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPrivateEndpoint
public ServerPrivateEndpointConnectionProperties withPrivateEndpoint(PrivateEndpointProperty privateEndpoint)
Set the privateEndpoint property: Private endpoint which the connection belongs to.
Parameters:
Returns:
withPrivateLinkServiceConnectionState
public ServerPrivateEndpointConnectionProperties withPrivateLinkServiceConnectionState(ServerPrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState)
Set the privateLinkServiceConnectionState property: Connection state of the private endpoint connection.
Parameters:
Returns: