Class PrivateEndpointConnectionInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.eventgrid.fluent.models.PrivateEndpointConnectionInner
-
public final class PrivateEndpointConnectionInner extends com.azure.core.management.ProxyResourceThe PrivateEndpointConnection model.
-
-
Constructor Summary
Constructors Constructor Description PrivateEndpointConnectionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>groupIds()Get the groupIds property: GroupIds from the private link service resource.PrivateEndpointprivateEndpoint()Get the privateEndpoint property: The Private Endpoint resource for this Connection.ConnectionStateprivateLinkServiceConnectionState()Get the privateLinkServiceConnectionState property: Details about the state of the connection.ResourceProvisioningStateprovisioningState()Get the provisioningState property: Provisioning state of the Private Endpoint Connection.voidvalidate()Validates the instance.PrivateEndpointConnectionInnerwithGroupIds(List<String> groupIds)Set the groupIds property: GroupIds from the private link service resource.PrivateEndpointConnectionInnerwithPrivateEndpoint(PrivateEndpoint privateEndpoint)Set the privateEndpoint property: The Private Endpoint resource for this Connection.PrivateEndpointConnectionInnerwithPrivateLinkServiceConnectionState(ConnectionState privateLinkServiceConnectionState)Set the privateLinkServiceConnectionState property: Details about the state of the connection.PrivateEndpointConnectionInnerwithProvisioningState(ResourceProvisioningState provisioningState)Set the provisioningState property: Provisioning state of the Private Endpoint Connection.
-
-
-
Method Detail
-
privateEndpoint
public PrivateEndpoint privateEndpoint()
Get the privateEndpoint property: The Private Endpoint resource for this Connection.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
public PrivateEndpointConnectionInner withPrivateEndpoint(PrivateEndpoint privateEndpoint)
Set the privateEndpoint property: The Private Endpoint resource for this Connection.- Parameters:
privateEndpoint- the privateEndpoint value to set.- Returns:
- the PrivateEndpointConnectionInner object itself.
-
groupIds
public List<String> groupIds()
Get the groupIds property: GroupIds from the private link service resource.- Returns:
- the groupIds value.
-
withGroupIds
public PrivateEndpointConnectionInner withGroupIds(List<String> groupIds)
Set the groupIds property: GroupIds from the private link service resource.- Parameters:
groupIds- the groupIds value to set.- Returns:
- the PrivateEndpointConnectionInner object itself.
-
privateLinkServiceConnectionState
public ConnectionState privateLinkServiceConnectionState()
Get the privateLinkServiceConnectionState property: Details about the state of the connection.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public PrivateEndpointConnectionInner withPrivateLinkServiceConnectionState(ConnectionState privateLinkServiceConnectionState)
Set the privateLinkServiceConnectionState property: Details about the state of the connection.- Parameters:
privateLinkServiceConnectionState- the privateLinkServiceConnectionState value to set.- Returns:
- the PrivateEndpointConnectionInner object itself.
-
provisioningState
public ResourceProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the Private Endpoint Connection.- Returns:
- the provisioningState value.
-
withProvisioningState
public PrivateEndpointConnectionInner withProvisioningState(ResourceProvisioningState provisioningState)
Set the provisioningState property: Provisioning state of the Private Endpoint Connection.- Parameters:
provisioningState- the provisioningState value to set.- Returns:
- the PrivateEndpointConnectionInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-