Class PrivateEndpointConnectionInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.storage.fluent.models.PrivateEndpointConnectionInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class PrivateEndpointConnectionInner
extends com.azure.core.management.ProxyResource
The Private Endpoint Connection resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PrivateEndpointConnectionInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the privateEndpoint property: The resource of private end point.Get the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.Get the provisioningState property: The provisioning state of the private endpoint connection resource.voidvalidate()Validates the instance.withPrivateEndpoint(PrivateEndpoint privateEndpoint) Set the privateEndpoint property: The resource of private end point.withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.Methods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
PrivateEndpointConnectionInner
public PrivateEndpointConnectionInner()Creates an instance of PrivateEndpointConnectionInner class.
-
-
Method Details
-
privateEndpoint
Get the privateEndpoint property: The resource of private end point.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
Set the privateEndpoint property: The resource of private end point.- Parameters:
privateEndpoint- the privateEndpoint value to set.- Returns:
- the PrivateEndpointConnectionInner object itself.
-
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
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.
-