Class PrivateEndpointConnectionItem
- java.lang.Object
-
- com.azure.resourcemanager.keyvault.models.PrivateEndpointConnectionItem
-
public final class PrivateEndpointConnectionItem extends Object
Private endpoint connection item.
-
-
Constructor Summary
Constructors Constructor Description PrivateEndpointConnectionItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringetag()Get the etag property: Modified whenever there is a change in the state of private endpoint connection.Stringid()Get the id property: Id of private endpoint connection.PrivateEndpointprivateEndpoint()Get the privateEndpoint property: Properties of the private endpoint object.PrivateLinkServiceConnectionStateprivateLinkServiceConnectionState()Get the privateLinkServiceConnectionState property: Approval state of the private link connection.PrivateEndpointConnectionProvisioningStateprovisioningState()Get the provisioningState property: Provisioning state of the private endpoint connection.voidvalidate()Validates the instance.PrivateEndpointConnectionItemwithEtag(String etag)Set the etag property: Modified whenever there is a change in the state of private endpoint connection.PrivateEndpointConnectionItemwithId(String id)Set the id property: Id of private endpoint connection.PrivateEndpointConnectionItemwithPrivateEndpoint(PrivateEndpoint privateEndpoint)Set the privateEndpoint property: Properties of the private endpoint object.PrivateEndpointConnectionItemwithPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)Set the privateLinkServiceConnectionState property: Approval state of the private link connection.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Id of private endpoint connection.- Returns:
- the id value.
-
withId
public PrivateEndpointConnectionItem withId(String id)
Set the id property: Id of private endpoint connection.- Parameters:
id- the id value to set.- Returns:
- the PrivateEndpointConnectionItem object itself.
-
etag
public String etag()
Get the etag property: Modified whenever there is a change in the state of private endpoint connection.- Returns:
- the etag value.
-
withEtag
public PrivateEndpointConnectionItem withEtag(String etag)
Set the etag property: Modified whenever there is a change in the state of private endpoint connection.- Parameters:
etag- the etag value to set.- Returns:
- the PrivateEndpointConnectionItem object itself.
-
privateEndpoint
public PrivateEndpoint privateEndpoint()
Get the privateEndpoint property: Properties of the private endpoint object.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
public PrivateEndpointConnectionItem withPrivateEndpoint(PrivateEndpoint privateEndpoint)
Set the privateEndpoint property: Properties of the private endpoint object.- Parameters:
privateEndpoint- the privateEndpoint value to set.- Returns:
- the PrivateEndpointConnectionItem object itself.
-
privateLinkServiceConnectionState
public PrivateLinkServiceConnectionState privateLinkServiceConnectionState()
Get the privateLinkServiceConnectionState property: Approval state of the private link connection.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public PrivateEndpointConnectionItem withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)
Set the privateLinkServiceConnectionState property: Approval state of the private link connection.- Parameters:
privateLinkServiceConnectionState- the privateLinkServiceConnectionState value to set.- Returns:
- the PrivateEndpointConnectionItem object itself.
-
provisioningState
public PrivateEndpointConnectionProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the private endpoint connection.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-