PrivateLinkServiceConnection Class

  • java.lang.Object
    • com.azure.resourcemanager.streamanalytics.models.PrivateLinkServiceConnection

public final class PrivateLinkServiceConnection

A grouping of information about the connection to the remote resource.

Constructor Summary

Constructor Description
PrivateLinkServiceConnection()

Creates an instance of PrivateLinkServiceConnection class.

Method Summary

Modifier and Type Method and Description
List<String> groupIds()

Get the groupIds property: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.

PrivateLinkConnectionState privateLinkServiceConnectionState()

Get the privateLinkServiceConnectionState property: A collection of read-only information about the state of the connection to the private remote resource.

String privateLinkServiceId()

Get the privateLinkServiceId property: The resource id of the private link service.

String requestMessage()

Get the requestMessage property: A message passed to the owner of the remote resource with this connection request.

void validate()

Validates the instance.

PrivateLinkServiceConnection withGroupIds(List<String> groupIds)

Set the groupIds property: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.

PrivateLinkServiceConnection withPrivateLinkServiceConnectionState(PrivateLinkConnectionState privateLinkServiceConnectionState)

Set the privateLinkServiceConnectionState property: A collection of read-only information about the state of the connection to the private remote resource.

PrivateLinkServiceConnection withPrivateLinkServiceId(String privateLinkServiceId)

Set the privateLinkServiceId property: The resource id of the private link service.

Methods inherited from java.lang.Object

Constructor Details

PrivateLinkServiceConnection

public PrivateLinkServiceConnection()

Creates an instance of PrivateLinkServiceConnection class.

Method Details

groupIds

public List groupIds()

Get the groupIds property: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.

Returns:

the groupIds value.

privateLinkServiceConnectionState

public PrivateLinkConnectionState privateLinkServiceConnectionState()

Get the privateLinkServiceConnectionState property: A collection of read-only information about the state of the connection to the private remote resource.

Returns:

the privateLinkServiceConnectionState value.

privateLinkServiceId

public String privateLinkServiceId()

Get the privateLinkServiceId property: The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.

Returns:

the privateLinkServiceId value.

requestMessage

public String requestMessage()

Get the requestMessage property: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.

Returns:

the requestMessage value.

validate

public void validate()

Validates the instance.

withGroupIds

public PrivateLinkServiceConnection withGroupIds(List groupIds)

Set the groupIds property: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.

Parameters:

groupIds - the groupIds value to set.

Returns:

the PrivateLinkServiceConnection object itself.

withPrivateLinkServiceConnectionState

public PrivateLinkServiceConnection withPrivateLinkServiceConnectionState(PrivateLinkConnectionState privateLinkServiceConnectionState)

Set the privateLinkServiceConnectionState property: A collection of read-only information about the state of the connection to the private remote resource.

Parameters:

privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.

Returns:

the PrivateLinkServiceConnection object itself.

withPrivateLinkServiceId

public PrivateLinkServiceConnection withPrivateLinkServiceId(String privateLinkServiceId)

Set the privateLinkServiceId property: The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.

Parameters:

privateLinkServiceId - the privateLinkServiceId value to set.

Returns:

the PrivateLinkServiceConnection object itself.

Applies to