Class PrivateEndpointConnectionProperties
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.fluent.models.PrivateEndpointConnectionProperties
-
public final class PrivateEndpointConnectionProperties extends Object
Properties of a private endpoint connection.
-
-
Constructor Summary
Constructors Constructor Description PrivateEndpointConnectionProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgroupId()Get the groupId property: Group id of the private endpoint.PrivateEndpointPropertyprivateEndpoint()Get the privateEndpoint property: Private endpoint which the connection belongs to.PrivateLinkServiceConnectionStatePropertyprivateLinkServiceConnectionState()Get the privateLinkServiceConnectionState property: Connection State of the Private Endpoint Connection.StringprovisioningState()Get the provisioningState property: Provisioning state of the private endpoint.voidvalidate()Validates the instance.PrivateEndpointConnectionPropertieswithGroupId(String groupId)Set the groupId property: Group id of the private endpoint.PrivateEndpointConnectionPropertieswithPrivateEndpoint(PrivateEndpointProperty privateEndpoint)Set the privateEndpoint property: Private endpoint which the connection belongs to.PrivateEndpointConnectionPropertieswithPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState)Set the privateLinkServiceConnectionState property: Connection State of the Private Endpoint Connection.PrivateEndpointConnectionPropertieswithProvisioningState(String provisioningState)Set the provisioningState property: Provisioning state of the private endpoint.
-
-
-
Method Detail
-
privateEndpoint
public PrivateEndpointProperty privateEndpoint()
Get the privateEndpoint property: Private endpoint which the connection belongs to.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
public PrivateEndpointConnectionProperties withPrivateEndpoint(PrivateEndpointProperty privateEndpoint)
Set the privateEndpoint property: Private endpoint which the connection belongs to.- Parameters:
privateEndpoint- the privateEndpoint value to set.- Returns:
- the PrivateEndpointConnectionProperties object itself.
-
privateLinkServiceConnectionState
public PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState()
Get the privateLinkServiceConnectionState property: Connection State of the Private Endpoint Connection.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public PrivateEndpointConnectionProperties withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState)
Set the privateLinkServiceConnectionState property: Connection State of the Private Endpoint Connection.- Parameters:
privateLinkServiceConnectionState- the privateLinkServiceConnectionState value to set.- Returns:
- the PrivateEndpointConnectionProperties object itself.
-
groupId
public String groupId()
Get the groupId property: Group id of the private endpoint.- Returns:
- the groupId value.
-
withGroupId
public PrivateEndpointConnectionProperties withGroupId(String groupId)
Set the groupId property: Group id of the private endpoint.- Parameters:
groupId- the groupId value to set.- Returns:
- the PrivateEndpointConnectionProperties object itself.
-
provisioningState
public String provisioningState()
Get the provisioningState property: Provisioning state of the private endpoint.- Returns:
- the provisioningState value.
-
withProvisioningState
public PrivateEndpointConnectionProperties withProvisioningState(String provisioningState)
Set the provisioningState property: Provisioning state of the private endpoint.- 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.
-
-