Class PrivateEndpointConnectionProperties
java.lang.Object
com.azure.resourcemanager.containerregistry.fluent.models.PrivateEndpointConnectionProperties
The properties of a private endpoint connection.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PrivateEndpointConnectionProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the privateEndpoint property: The resource of private endpoint.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 private endpoint connection resource.voidvalidate()Validates the instance.withPrivateEndpoint(PrivateEndpoint privateEndpoint) Set the privateEndpoint property: The resource of private endpoint.withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.
-
Constructor Details
-
PrivateEndpointConnectionProperties
public PrivateEndpointConnectionProperties()Creates an instance of PrivateEndpointConnectionProperties class.
-
-
Method Details
-
privateEndpoint
Get the privateEndpoint property: The resource of private endpoint.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
Set the privateEndpoint property: The resource of private endpoint.- Parameters:
privateEndpoint- the privateEndpoint value to set.- Returns:
- the PrivateEndpointConnectionProperties 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 PrivateEndpointConnectionProperties 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 PrivateEndpointConnectionProperties object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of private endpoint connection resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-