Class PrivateEndpointConnectionInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.machinelearning.fluent.models.PrivateEndpointConnectionInner
-
public final class PrivateEndpointConnectionInner extends com.azure.core.management.ProxyResource
The Private Endpoint Connection resource.
-
-
Constructor Summary
Constructors Constructor Description PrivateEndpointConnectionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedServiceIdentity
identity()
Get the identity property: The identity of the resource.String
location()
Get the location property: Specifies the location of the resource.PrivateEndpoint
privateEndpoint()
Get the privateEndpoint property: The resource of private end point.PrivateLinkServiceConnectionState
privateLinkServiceConnectionState()
Get the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.PrivateEndpointConnectionProvisioningState
provisioningState()
Get the provisioningState property: The provisioning state of the private endpoint connection resource.Sku
sku()
Get the sku property: The sku of the workspace.com.azure.core.management.SystemData
systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.Map<String,String>
tags()
Get the tags property: Contains resource tags defined as key/value pairs.void
validate()
Validates the instance.PrivateEndpointConnectionInner
withIdentity(ManagedServiceIdentity identity)
Set the identity property: The identity of the resource.PrivateEndpointConnectionInner
withLocation(String location)
Set the location property: Specifies the location of the resource.PrivateEndpointConnectionInner
withPrivateEndpoint(PrivateEndpoint privateEndpoint)
Set the privateEndpoint property: The resource of private end point.PrivateEndpointConnectionInner
withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)
Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.PrivateEndpointConnectionInner
withSku(Sku sku)
Set the sku property: The sku of the workspace.PrivateEndpointConnectionInner
withTags(Map<String,String> tags)
Set the tags property: Contains resource tags defined as key/value pairs.
-
-
-
Method Detail
-
identity
public ManagedServiceIdentity identity()
Get the identity property: The identity of the resource.- Returns:
- the identity value.
-
withIdentity
public PrivateEndpointConnectionInner withIdentity(ManagedServiceIdentity identity)
Set the identity property: The identity of the resource.- Parameters:
identity
- the identity value to set.- Returns:
- the PrivateEndpointConnectionInner object itself.
-
location
public String location()
Get the location property: Specifies the location of the resource.- Returns:
- the location value.
-
withLocation
public PrivateEndpointConnectionInner withLocation(String location)
Set the location property: Specifies the location of the resource.- Parameters:
location
- the location value to set.- Returns:
- the PrivateEndpointConnectionInner object itself.
-
tags
public Map<String,String> tags()
Get the tags property: Contains resource tags defined as key/value pairs.- Returns:
- the tags value.
-
withTags
public PrivateEndpointConnectionInner withTags(Map<String,String> tags)
Set the tags property: Contains resource tags defined as key/value pairs.- Parameters:
tags
- the tags value to set.- Returns:
- the PrivateEndpointConnectionInner object itself.
-
sku
public Sku sku()
Get the sku property: The sku of the workspace.- Returns:
- the sku value.
-
withSku
public PrivateEndpointConnectionInner withSku(Sku sku)
Set the sku property: The sku of the workspace.- Parameters:
sku
- the sku value to set.- Returns:
- the PrivateEndpointConnectionInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
privateEndpoint
public PrivateEndpoint privateEndpoint()
Get the privateEndpoint property: The resource of private end point.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
public PrivateEndpointConnectionInner withPrivateEndpoint(PrivateEndpoint privateEndpoint)
Set the privateEndpoint property: The resource of private end point.- Parameters:
privateEndpoint
- the privateEndpoint value to set.- Returns:
- the PrivateEndpointConnectionInner object itself.
-
privateLinkServiceConnectionState
public PrivateLinkServiceConnectionState privateLinkServiceConnectionState()
Get the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public PrivateEndpointConnectionInner withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)
Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.- Parameters:
privateLinkServiceConnectionState
- the privateLinkServiceConnectionState value to set.- Returns:
- the PrivateEndpointConnectionInner object itself.
-
provisioningState
public PrivateEndpointConnectionProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the private endpoint connection resource.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-