Class PrivateEndpointConnectionInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.redisenterprise.fluent.models.PrivateEndpointConnectionInner
-
public final class PrivateEndpointConnectionInner extends com.azure.core.management.ProxyResource
The Private Endpoint Connection resource.
-
-
Constructor Summary
Constructors Constructor Description PrivateEndpointConnectionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateEndpoint
privateEndpoint()
Get the privateEndpoint property: The resource of private end point.PrivateLinkServiceConnectionState
privateLinkServiceConnectionState()
Get the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.PrivateEndpointConnectionProvisioningState
provisioningState()
Get the provisioningState property: The provisioning state of the private endpoint connection resource.void
validate()
Validates the instance.PrivateEndpointConnectionInner
withPrivateEndpoint(PrivateEndpoint privateEndpoint)
Set the privateEndpoint property: The resource of private end point.PrivateEndpointConnectionInner
withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)
Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.
-
-
-
Method Detail
-
privateEndpoint
public PrivateEndpoint privateEndpoint()
Get the privateEndpoint property: The resource of private end point.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
public PrivateEndpointConnectionInner withPrivateEndpoint(PrivateEndpoint privateEndpoint)
Set the privateEndpoint property: The resource of private end point.- Parameters:
privateEndpoint
- the privateEndpoint value to set.- Returns:
- the PrivateEndpointConnectionInner object itself.
-
privateLinkServiceConnectionState
public PrivateLinkServiceConnectionState privateLinkServiceConnectionState()
Get the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public PrivateEndpointConnectionInner withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)
Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.- Parameters:
privateLinkServiceConnectionState
- the privateLinkServiceConnectionState value to set.- Returns:
- the PrivateEndpointConnectionInner object itself.
-
provisioningState
public PrivateEndpointConnectionProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the private endpoint connection resource.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-