Class PrivateEndpointConnectionRequest
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.PrivateEndpointConnectionRequest
-
public final class PrivateEndpointConnectionRequest extends Object
A request to approve or reject a private endpoint connection.
-
-
Constructor Summary
Constructors Constructor Description PrivateEndpointConnectionRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
id()
Get the id property: Private Endpoint Connection Resource Id.PrivateEndpointConnectionRequestProperties
properties()
Get the properties property: The connection state of the private endpoint connection.void
validate()
Validates the instance.PrivateEndpointConnectionRequest
withId(String id)
Set the id property: Private Endpoint Connection Resource Id.PrivateEndpointConnectionRequest
withProperties(PrivateEndpointConnectionRequestProperties properties)
Set the properties property: The connection state of the private endpoint connection.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Private Endpoint Connection Resource Id.- Returns:
- the id value.
-
withId
public PrivateEndpointConnectionRequest withId(String id)
Set the id property: Private Endpoint Connection Resource Id.- Parameters:
id
- the id value to set.- Returns:
- the PrivateEndpointConnectionRequest object itself.
-
properties
public PrivateEndpointConnectionRequestProperties properties()
Get the properties property: The connection state of the private endpoint connection.- Returns:
- the properties value.
-
withProperties
public PrivateEndpointConnectionRequest withProperties(PrivateEndpointConnectionRequestProperties properties)
Set the properties property: The connection state of the private endpoint connection.- Parameters:
properties
- the properties value to set.- Returns:
- the PrivateEndpointConnectionRequest object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-