Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.network.implementation; import com.microsoft.azure.management.network.PrivateLinkServiceConnectionState; import com.microsoft.azure.management.network.ProvisioningState; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.SubResource;
PrivateEndpointConnection resource.
/** * PrivateEndpointConnection resource. */
@JsonFlatten public class PrivateEndpointConnectionInner extends SubResource {
The resource of private end point.
/** * The resource of private end point. */
@JsonProperty(value = "properties.privateEndpoint", access = JsonProperty.Access.WRITE_ONLY) private PrivateEndpointInner privateEndpoint;
A collection of information about the state of the connection between service consumer and provider.
/** * A collection of information about the state of the connection between * service consumer and provider. */
@JsonProperty(value = "properties.privateLinkServiceConnectionState") private PrivateLinkServiceConnectionState privateLinkServiceConnectionState;
The provisioning state of the private endpoint connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
/** * The provisioning state of the private endpoint connection resource. * Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'. */
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) private ProvisioningState provisioningState;
The consumer link id.
/** * The consumer link id. */
@JsonProperty(value = "properties.linkIdentifier", access = JsonProperty.Access.WRITE_ONLY) private String linkIdentifier;
The name of the resource that is unique within a resource group. This name can be used to access the resource.
/** * The name of the resource that is unique within a resource group. This * name can be used to access the resource. */
@JsonProperty(value = "name") private String name;
The resource type.
/** * The resource type. */
@JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY) private String type;
A unique read-only string that changes whenever the resource is updated.
/** * A unique read-only string that changes whenever the resource is updated. */
@JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY) private String etag;
Get the resource of private end point.
Returns:the privateEndpoint value
/** * Get the resource of private end point. * * @return the privateEndpoint value */
public PrivateEndpointInner privateEndpoint() { return this.privateEndpoint; }
Get a collection of information about the state of the connection between service consumer and provider.
Returns:the privateLinkServiceConnectionState value
/** * Get a collection of information about the state of the connection between service consumer and provider. * * @return the privateLinkServiceConnectionState value */
public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() { return this.privateLinkServiceConnectionState; }
Set a collection of information about the state of the connection between service consumer and provider.
Params:
  • privateLinkServiceConnectionState – the privateLinkServiceConnectionState value to set
Returns:the PrivateEndpointConnectionInner object itself.
/** * Set a collection of information about the state of the connection between service consumer and provider. * * @param privateLinkServiceConnectionState the privateLinkServiceConnectionState value to set * @return the PrivateEndpointConnectionInner object itself. */
public PrivateEndpointConnectionInner withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState) { this.privateLinkServiceConnectionState = privateLinkServiceConnectionState; return this; }
Get the provisioning state of the private endpoint connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
Returns:the provisioningState value
/** * Get the provisioning state of the private endpoint connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'. * * @return the provisioningState value */
public ProvisioningState provisioningState() { return this.provisioningState; }
Get the consumer link id.
Returns:the linkIdentifier value
/** * Get the consumer link id. * * @return the linkIdentifier value */
public String linkIdentifier() { return this.linkIdentifier; }
Get 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
/** * Get the name of the resource that is unique within a resource group. This name can be used to access the resource. * * @return the name value */
public String name() { return this.name; }
Set the name of the resource that is unique within a resource group. This name can be used to access the resource.
Params:
  • name – the name value to set
Returns:the PrivateEndpointConnectionInner object itself.
/** * Set the name of the resource that is unique within a resource group. This name can be used to access the resource. * * @param name the name value to set * @return the PrivateEndpointConnectionInner object itself. */
public PrivateEndpointConnectionInner withName(String name) { this.name = name; return this; }
Get the resource type.
Returns:the type value
/** * Get the resource type. * * @return the type value */
public String type() { return this.type; }
Get a unique read-only string that changes whenever the resource is updated.
Returns:the etag value
/** * Get a unique read-only string that changes whenever the resource is updated. * * @return the etag value */
public String etag() { return this.etag; } }