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.storage.implementation; import com.microsoft.azure.management.storage.PrivateEndpoint; import com.microsoft.azure.management.storage.PrivateLinkServiceConnectionState; import com.microsoft.azure.management.storage.PrivateEndpointConnectionProvisioningState; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.ProxyResource;
The Private Endpoint Connection resource.
/** * The Private Endpoint Connection resource. */
@JsonFlatten public class PrivateEndpointConnectionInner extends ProxyResource {
The resource of private end point.
/** * The resource of private end point. */
@JsonProperty(value = "properties.privateEndpoint") private PrivateEndpoint 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", required = true) private PrivateLinkServiceConnectionState privateLinkServiceConnectionState;
The provisioning state of the private endpoint connection resource. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed'.
/** * The provisioning state of the private endpoint connection resource. * Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed'. */
@JsonProperty(value = "properties.provisioningState") private PrivateEndpointConnectionProvisioningState provisioningState;
Get the resource of private end point.
Returns:the privateEndpoint value
/** * Get the resource of private end point. * * @return the privateEndpoint value */
public PrivateEndpoint privateEndpoint() { return this.privateEndpoint; }
Set the resource of private end point.
Params:
  • privateEndpoint – the privateEndpoint value to set
Returns:the PrivateEndpointConnectionInner object itself.
/** * Set the resource of private end point. * * @param privateEndpoint the privateEndpoint value to set * @return the PrivateEndpointConnectionInner object itself. */
public PrivateEndpointConnectionInner withPrivateEndpoint(PrivateEndpoint privateEndpoint) { this.privateEndpoint = privateEndpoint; return this; }
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', 'Creating', 'Deleting', 'Failed'.
Returns:the provisioningState value
/** * Get the provisioning state of the private endpoint connection resource. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed'. * * @return the provisioningState value */
public PrivateEndpointConnectionProvisioningState provisioningState() { return this.provisioningState; }
Set the provisioning state of the private endpoint connection resource. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed'.
Params:
  • provisioningState – the provisioningState value to set
Returns:the PrivateEndpointConnectionInner object itself.
/** * Set the provisioning state of the private endpoint connection resource. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed'. * * @param provisioningState the provisioningState value to set * @return the PrivateEndpointConnectionInner object itself. */
public PrivateEndpointConnectionInner withProvisioningState(PrivateEndpointConnectionProvisioningState provisioningState) { this.provisioningState = provisioningState; return this; } }