Class PrivateLinkConnectionApprovalRequest
java.lang.Object
com.azure.resourcemanager.datafactory.models.PrivateLinkConnectionApprovalRequest
A request to approve or reject a private endpoint connection.
-
Constructor Summary
ConstructorDescriptionCreates an instance of PrivateLinkConnectionApprovalRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the privateEndpoint property: The resource of private endpoint.Get the privateLinkServiceConnectionState property: The state of a private link connection.void
validate()
Validates the instance.withPrivateEndpoint
(PrivateEndpoint privateEndpoint) Set the privateEndpoint property: The resource of private endpoint.withPrivateLinkServiceConnectionState
(PrivateLinkConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: The state of a private link connection.
-
Constructor Details
-
PrivateLinkConnectionApprovalRequest
public PrivateLinkConnectionApprovalRequest()Creates an instance of PrivateLinkConnectionApprovalRequest class.
-
-
Method Details
-
privateLinkServiceConnectionState
Get the privateLinkServiceConnectionState property: The state of a private link connection.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public PrivateLinkConnectionApprovalRequest withPrivateLinkServiceConnectionState(PrivateLinkConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: The state of a private link connection.- Parameters:
privateLinkServiceConnectionState
- the privateLinkServiceConnectionState value to set.- Returns:
- the PrivateLinkConnectionApprovalRequest object itself.
-
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 PrivateLinkConnectionApprovalRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-