Class PrivateLinkConnectionApprovalRequest
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.PrivateLinkConnectionApprovalRequest
-
public final class PrivateLinkConnectionApprovalRequest extends Object
A request to approve or reject a private endpoint connection.
-
-
Constructor Summary
Constructors Constructor Description PrivateLinkConnectionApprovalRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateEndpoint
privateEndpoint()
Get the privateEndpoint property: The resource of private endpoint.PrivateLinkConnectionState
privateLinkServiceConnectionState()
Get the privateLinkServiceConnectionState property: The state of a private link connection.void
validate()
Validates the instance.PrivateLinkConnectionApprovalRequest
withPrivateEndpoint(PrivateEndpoint privateEndpoint)
Set the privateEndpoint property: The resource of private endpoint.PrivateLinkConnectionApprovalRequest
withPrivateLinkServiceConnectionState(PrivateLinkConnectionState privateLinkServiceConnectionState)
Set the privateLinkServiceConnectionState property: The state of a private link connection.
-
-
-
Method Detail
-
privateLinkServiceConnectionState
public PrivateLinkConnectionState 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
public PrivateEndpoint privateEndpoint()
Get the privateEndpoint property: The resource of private endpoint.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
public PrivateLinkConnectionApprovalRequest withPrivateEndpoint(PrivateEndpoint privateEndpoint)
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.
-
-