Class SharedPrivateLinkResourceProperty
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.fluent.models.SharedPrivateLinkResourceProperty
-
public final class SharedPrivateLinkResourceProperty extends Object
Properties of a shared private link resource.
-
-
Constructor Summary
Constructors Constructor Description SharedPrivateLinkResourceProperty()
-
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
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.SharedPrivateLinkResourceProperty
withGroupId(String groupId)
Set the groupId property: The private link resource group id.SharedPrivateLinkResourceProperty
withPrivateLinkResourceId(String privateLinkResourceId)
Set the privateLinkResourceId property: The resource id that private link links to.SharedPrivateLinkResourceProperty
withRequestMessage(String requestMessage)
Set the requestMessage property: Request message.SharedPrivateLinkResourceProperty
withStatus(PrivateEndpointServiceConnectionStatus status)
Set the status property: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
-
-
-
Method Detail
-
privateLinkResourceId
public String privateLinkResourceId()
Get the privateLinkResourceId property: The resource id that private link links to.- Returns:
- the privateLinkResourceId value.
-
withPrivateLinkResourceId
public SharedPrivateLinkResourceProperty withPrivateLinkResourceId(String privateLinkResourceId)
Set the privateLinkResourceId property: The resource id that private link links to.- Parameters:
privateLinkResourceId
- the privateLinkResourceId value to set.- Returns:
- the SharedPrivateLinkResourceProperty object itself.
-
groupId
public String groupId()
Get the groupId property: The private link resource group id.- Returns:
- the groupId value.
-
withGroupId
public SharedPrivateLinkResourceProperty withGroupId(String groupId)
Set the groupId property: The private link resource group id.- Parameters:
groupId
- the groupId value to set.- Returns:
- the SharedPrivateLinkResourceProperty object itself.
-
requestMessage
public String requestMessage()
Get the requestMessage property: Request message.- Returns:
- the requestMessage value.
-
withRequestMessage
public SharedPrivateLinkResourceProperty withRequestMessage(String requestMessage)
Set the requestMessage property: Request message.- Parameters:
requestMessage
- the requestMessage value to set.- Returns:
- the SharedPrivateLinkResourceProperty 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 SharedPrivateLinkResourceProperty 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 SharedPrivateLinkResourceProperty object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-