Class PrivateEndpointConnectionProperties
java.lang.Object
com.azure.resourcemanager.search.models.PrivateEndpointConnectionProperties
Describes the properties of an existing Private Endpoint connection to the search service.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PrivateEndpointConnectionProperties class. -
Method Summary
Modifier and TypeMethodDescriptiongroupId()Get the groupId property: The group id from the provider of resource the private link service connection is for.Get the privateEndpoint property: The private endpoint resource from Microsoft.Network provider.Get the privateLinkServiceConnectionState property: Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint.Get the provisioningState property: The provisioning state of the private link service connection.voidvalidate()Validates the instance.withGroupId(String groupId) Set the groupId property: The group id from the provider of resource the private link service connection is for.withPrivateEndpoint(PrivateEndpointConnectionPropertiesPrivateEndpoint privateEndpoint) Set the privateEndpoint property: The private endpoint resource from Microsoft.Network provider.withPrivateLinkServiceConnectionState(PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint.withProvisioningState(PrivateLinkServiceConnectionProvisioningState provisioningState) Set the provisioningState property: The provisioning state of the private link service connection.
-
Constructor Details
-
PrivateEndpointConnectionProperties
public PrivateEndpointConnectionProperties()Creates an instance of PrivateEndpointConnectionProperties class.
-
-
Method Details
-
privateEndpoint
Get the privateEndpoint property: The private endpoint resource from Microsoft.Network provider.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
public PrivateEndpointConnectionProperties withPrivateEndpoint(PrivateEndpointConnectionPropertiesPrivateEndpoint privateEndpoint) Set the privateEndpoint property: The private endpoint resource from Microsoft.Network provider.- Parameters:
privateEndpoint- the privateEndpoint value to set.- Returns:
- the PrivateEndpointConnectionProperties object itself.
-
privateLinkServiceConnectionState
public PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState privateLinkServiceConnectionState()Get the privateLinkServiceConnectionState property: Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public PrivateEndpointConnectionProperties withPrivateLinkServiceConnectionState(PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint.- Parameters:
privateLinkServiceConnectionState- the privateLinkServiceConnectionState value to set.- Returns:
- the PrivateEndpointConnectionProperties object itself.
-
groupId
Get the groupId property: The group id from the provider of resource the private link service connection is for.- Returns:
- the groupId value.
-
withGroupId
Set the groupId property: The group id from the provider of resource the private link service connection is for.- Parameters:
groupId- the groupId value to set.- Returns:
- the PrivateEndpointConnectionProperties object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, or Incomplete.- Returns:
- the provisioningState value.
-
withProvisioningState
public PrivateEndpointConnectionProperties withProvisioningState(PrivateLinkServiceConnectionProvisioningState provisioningState) Set the provisioningState property: The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, or Incomplete.- Parameters:
provisioningState- the provisioningState value to set.- Returns:
- the PrivateEndpointConnectionProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-