Class PrivateEndpointConnectionInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.monitor.fluent.models.PrivateEndpointConnectionInner
-
public class PrivateEndpointConnectionInner extends com.azure.core.management.ProxyResourceA private endpoint connection.
-
-
Constructor Summary
Constructors Constructor Description PrivateEndpointConnectionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateEndpointPropertyprivateEndpoint()Get the privateEndpoint property: Private endpoint which the connection belongs to.PrivateLinkServiceConnectionStatePropertyprivateLinkServiceConnectionState()Get the privateLinkServiceConnectionState property: Connection state of the private endpoint connection.StringprovisioningState()Get the provisioningState property: State of the private endpoint connection.voidvalidate()Validates the instance.PrivateEndpointConnectionInnerwithPrivateEndpoint(PrivateEndpointProperty privateEndpoint)Set the privateEndpoint property: Private endpoint which the connection belongs to.PrivateEndpointConnectionInnerwithPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState)Set the privateLinkServiceConnectionState property: Connection state of the private endpoint connection.
-
-
-
Method Detail
-
privateEndpoint
public PrivateEndpointProperty privateEndpoint()
Get the privateEndpoint property: Private endpoint which the connection belongs to.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
public PrivateEndpointConnectionInner withPrivateEndpoint(PrivateEndpointProperty privateEndpoint)
Set the privateEndpoint property: Private endpoint which the connection belongs to.- Parameters:
privateEndpoint- the privateEndpoint value to set.- Returns:
- the PrivateEndpointConnectionInner object itself.
-
privateLinkServiceConnectionState
public PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState()
Get the privateLinkServiceConnectionState property: Connection state of the private endpoint connection.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public PrivateEndpointConnectionInner withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState)
Set the privateLinkServiceConnectionState property: Connection state of the private endpoint connection.- Parameters:
privateLinkServiceConnectionState- the privateLinkServiceConnectionState value to set.- Returns:
- the PrivateEndpointConnectionInner object itself.
-
provisioningState
public String 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.
-
-