Class PrivateEndpointConnectionProperties
java.lang.Object
com.azure.resourcemanager.iothub.models.PrivateEndpointConnectionProperties
The properties of a private endpoint connection.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the privateEndpoint property: The private endpoint property of a private endpoint connection.Get the privateLinkServiceConnectionState property: The current state of a private endpoint connection.void
validate()
Validates the instance.withPrivateEndpoint
(PrivateEndpoint privateEndpoint) Set the privateEndpoint property: The private endpoint property of a private endpoint connection.withPrivateLinkServiceConnectionState
(PrivateLinkServiceConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: The current state of a private endpoint connection.
-
Constructor Details
-
PrivateEndpointConnectionProperties
public PrivateEndpointConnectionProperties()
-
-
Method Details
-
privateEndpoint
Get the privateEndpoint property: The private endpoint property of a private endpoint connection.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
Set the privateEndpoint property: The private endpoint property of a private endpoint connection.- Parameters:
privateEndpoint
- the privateEndpoint value to set.- Returns:
- the PrivateEndpointConnectionProperties object itself.
-
privateLinkServiceConnectionState
Get the privateLinkServiceConnectionState property: The current state of a private endpoint connection.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public PrivateEndpointConnectionProperties withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: The current state of a private endpoint connection.- Parameters:
privateLinkServiceConnectionState
- the privateLinkServiceConnectionState value to set.- Returns:
- the PrivateEndpointConnectionProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-