Class PrivateLinkConnectionApprovalRequestResource
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.models.PrivateLinkConnectionApprovalRequestResource
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
Private Endpoint Connection Approval ARM resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PrivateLinkConnectionApprovalRequestResource class. -
Method Summary
Modifier and TypeMethodDescriptionGet the privateLinkServiceConnectionState property: The state of a private link connection.voidvalidate()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
kindMethods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
PrivateLinkConnectionApprovalRequestResource
public PrivateLinkConnectionApprovalRequestResource()Creates an instance of PrivateLinkConnectionApprovalRequestResource class.
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKindin 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:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-