Class PrivateLinkConnectionApprovalRequestResource
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.appservice.models.ProxyOnlyResource
-
- com.azure.resourcemanager.appservice.models.PrivateLinkConnectionApprovalRequestResource
-
public final class PrivateLinkConnectionApprovalRequestResource extends ProxyOnlyResource
Private Endpoint Connection Approval ARM resource.
-
-
Constructor Summary
Constructors Constructor Description PrivateLinkConnectionApprovalRequestResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateLinkConnectionStateprivateLinkServiceConnectionState()Get the privateLinkServiceConnectionState property: The state of a private link connection.voidvalidate()Validates the instance.PrivateLinkConnectionApprovalRequestResourcewithKind(String kind)Set the kind property: Kind of resource.PrivateLinkConnectionApprovalRequestResourcewithPrivateLinkServiceConnectionState(PrivateLinkConnectionState privateLinkServiceConnectionState)Set the privateLinkServiceConnectionState property: The state of a private link connection.-
Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public PrivateLinkConnectionApprovalRequestResource withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
privateLinkServiceConnectionState
public PrivateLinkConnectionState 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:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-