Class PrivateLinkConnectionApprovalRequestResource
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.models.PrivateLinkConnectionApprovalRequestResource
Private Endpoint Connection Approval ARM resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the privateLinkServiceConnectionState property: The state of a private link connection.void
validate()
Validates the instance.Set the kind property: Kind of resource.withPrivateLinkServiceConnectionState
(PrivateLinkConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: The state of a private link connection.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
PrivateLinkConnectionApprovalRequestResource
public PrivateLinkConnectionApprovalRequestResource()
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKind
in classProxyOnlyResource
- Parameters:
kind
- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
privateLinkServiceConnectionState
Get the privateLinkServiceConnectionState property: The state of a private link connection.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public PrivateLinkConnectionApprovalRequestResource withPrivateLinkServiceConnectionState(PrivateLinkConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: The state of a private link connection.- Parameters:
privateLinkServiceConnectionState
- the privateLinkServiceConnectionState value to set.- Returns:
- the PrivateLinkConnectionApprovalRequestResource object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classProxyOnlyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-