Class PrivateEndpointConnectionInner
- java.lang.Object
-
- com.azure.core.management.SubResource
-
- com.azure.resourcemanager.network.fluent.models.PrivateEndpointConnectionInner
-
public final class PrivateEndpointConnectionInner extends com.azure.core.management.SubResourcePrivateEndpointConnection resource.
-
-
Constructor Summary
Constructors Constructor Description PrivateEndpointConnectionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.StringlinkIdentifier()Get the linkIdentifier property: The consumer link id.Stringname()Get the name property: The name of the resource that is unique within a resource group.PrivateEndpointInnerprivateEndpoint()Get the privateEndpoint property: The resource of private end point.PrivateLinkServiceConnectionStateprivateLinkServiceConnectionState()Get the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the private endpoint connection resource.Stringtype()Get the type property: The resource type.voidvalidate()Validates the instance.PrivateEndpointConnectionInnerwithId(String id)PrivateEndpointConnectionInnerwithName(String name)Set the name property: The name of the resource that is unique within a resource group.PrivateEndpointConnectionInnerwithPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.- Returns:
- the name value.
-
withName
public PrivateEndpointConnectionInner withName(String name)
Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.- Parameters:
name- the name value to set.- Returns:
- the PrivateEndpointConnectionInner object itself.
-
type
public String type()
Get the type property: The resource type.- Returns:
- the type value.
-
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
withId
public PrivateEndpointConnectionInner withId(String id)
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
privateEndpoint
public PrivateEndpointInner privateEndpoint()
Get the privateEndpoint property: The resource of private end point.- Returns:
- the privateEndpoint value.
-
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 ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the private endpoint connection resource.- Returns:
- the provisioningState value.
-
linkIdentifier
public String linkIdentifier()
Get the linkIdentifier property: The consumer link id.- Returns:
- the linkIdentifier value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-