Class ConnectionProperties
java.lang.Object
com.azure.resourcemanager.digitaltwins.models.ConnectionProperties
The properties of a private endpoint connection.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongroupIds()
Get the groupIds property: The list of group ids for the private endpoint connection.Get the privateEndpoint property: The private endpoint.Get the privateLinkServiceConnectionState property: The connection state.Get the provisioningState property: The provisioning state.void
validate()
Validates the instance.withGroupIds
(List<String> groupIds) Set the groupIds property: The list of group ids for the private endpoint connection.withPrivateEndpoint
(PrivateEndpoint privateEndpoint) Set the privateEndpoint property: The private endpoint.withPrivateLinkServiceConnectionState
(ConnectionPropertiesPrivateLinkServiceConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: The connection state.
-
Constructor Details
-
ConnectionProperties
public ConnectionProperties()
-
-
Method Details
-
provisioningState
Get the provisioningState property: The provisioning state.- Returns:
- the provisioningState value.
-
privateEndpoint
Get the privateEndpoint property: The private endpoint.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
Set the privateEndpoint property: The private endpoint.- Parameters:
privateEndpoint
- the privateEndpoint value to set.- Returns:
- the ConnectionProperties object itself.
-
groupIds
Get the groupIds property: The list of group ids for the private endpoint connection.- Returns:
- the groupIds value.
-
withGroupIds
Set the groupIds property: The list of group ids for the private endpoint connection.- Parameters:
groupIds
- the groupIds value to set.- Returns:
- the ConnectionProperties object itself.
-
privateLinkServiceConnectionState
Get the privateLinkServiceConnectionState property: The connection state.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public ConnectionProperties withPrivateLinkServiceConnectionState(ConnectionPropertiesPrivateLinkServiceConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: The connection state.- Parameters:
privateLinkServiceConnectionState
- the privateLinkServiceConnectionState value to set.- Returns:
- the ConnectionProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-