SharedPrivateLinkResource Class

  • java.lang.Object
    • com.azure.resourcemanager.machinelearningservices.models.SharedPrivateLinkResource

public class SharedPrivateLinkResource

The SharedPrivateLinkResource model.

Constructor Summary

Constructor Description
SharedPrivateLinkResource()

Method Summary

Modifier and Type Method and Description
String groupId()

Get the groupId property: The private link resource group id.

String name()

Get the name property: Unique name of the private link.

String privateLinkResourceId()

Get the privateLinkResourceId property: The resource id that private link links to.

String requestMessage()

Get the requestMessage property: Request message.

PrivateEndpointServiceConnectionStatus status()

Get the status property: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

void validate()

Validates the instance.

SharedPrivateLinkResource withGroupId(String groupId)

Set the groupId property: The private link resource group id.

SharedPrivateLinkResource withName(String name)

Set the name property: Unique name of the private link.

SharedPrivateLinkResource withPrivateLinkResourceId(String privateLinkResourceId)

Set the privateLinkResourceId property: The resource id that private link links to.

SharedPrivateLinkResource withRequestMessage(String requestMessage)

Set the requestMessage property: Request message.

SharedPrivateLinkResource withStatus(PrivateEndpointServiceConnectionStatus status)

Set the status property: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

Methods inherited from java.lang.Object

Constructor Details

SharedPrivateLinkResource

public SharedPrivateLinkResource()

Method Details

groupId

public String groupId()

Get the groupId property: The private link resource group id.

Returns:

the groupId value.

name

public String name()

Get the name property: Unique name of the private link.

Returns:

the name value.

privateLinkResourceId

public String privateLinkResourceId()

Get the privateLinkResourceId property: The resource id that private link links to.

Returns:

the privateLinkResourceId value.

requestMessage

public String requestMessage()

Get the requestMessage property: Request message.

Returns:

the requestMessage value.

status

public PrivateEndpointServiceConnectionStatus status()

Get the status property: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

Returns:

the status value.

validate

public void validate()

Validates the instance.

withGroupId

public SharedPrivateLinkResource withGroupId(String groupId)

Set the groupId property: The private link resource group id.

Parameters:

groupId - the groupId value to set.

Returns:

the SharedPrivateLinkResource object itself.

withName

public SharedPrivateLinkResource withName(String name)

Set the name property: Unique name of the private link.

Parameters:

name - the name value to set.

Returns:

the SharedPrivateLinkResource object itself.

withPrivateLinkResourceId

public SharedPrivateLinkResource withPrivateLinkResourceId(String privateLinkResourceId)

Set the privateLinkResourceId property: The resource id that private link links to.

Parameters:

privateLinkResourceId - the privateLinkResourceId value to set.

Returns:

the SharedPrivateLinkResource object itself.

withRequestMessage

public SharedPrivateLinkResource withRequestMessage(String requestMessage)

Set the requestMessage property: Request message.

Parameters:

requestMessage - the requestMessage value to set.

Returns:

the SharedPrivateLinkResource object itself.

withStatus

public SharedPrivateLinkResource withStatus(PrivateEndpointServiceConnectionStatus status)

Set the status property: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

Parameters:

status - the status value to set.

Returns:

the SharedPrivateLinkResource object itself.

Applies to