Class SharedPrivateLinkResource
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.SharedPrivateLinkResource
-
public final class SharedPrivateLinkResource extends Object
The SharedPrivateLinkResource model.
-
-
Constructor Summary
Constructors Constructor Description SharedPrivateLinkResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Unique name of the private link.- Returns:
- the name value.
-
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.
-
privateLinkResourceId
public String privateLinkResourceId()
Get the privateLinkResourceId property: The resource id that private link links to.- Returns:
- the privateLinkResourceId value.
-
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.
-
groupId
public String groupId()
Get the groupId property: The private link resource group id.- Returns:
- the groupId value.
-
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.
-
requestMessage
public String requestMessage()
Get the requestMessage property: Request message.- Returns:
- the requestMessage value.
-
withRequestMessage
public SharedPrivateLinkResource withRequestMessage(String requestMessage)
Set the requestMessage property: Request message.- Parameters:
requestMessage
- the requestMessage value to set.- Returns:
- the SharedPrivateLinkResource object itself.
-
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.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-