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