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 java.util.List; import com.microsoft.azure.management.network.PrivateLinkServiceIpConfiguration; import com.microsoft.azure.management.network.ProvisioningState; import com.microsoft.azure.management.network.PrivateLinkServicePropertiesVisibility; import com.microsoft.azure.management.network.PrivateLinkServicePropertiesAutoApproval; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.rest.SkipParentValidation; import com.microsoft.azure.Resource;
Private link service resource.
/** * Private link service resource. */
@JsonFlatten @SkipParentValidation public class PrivateLinkServiceInner extends Resource {
An array of references to the load balancer IP configurations.
/** * An array of references to the load balancer IP configurations. */
@JsonProperty(value = "properties.loadBalancerFrontendIpConfigurations") private List<FrontendIPConfigurationInner> loadBalancerFrontendIpConfigurations;
An array of private link service IP configurations.
/** * An array of private link service IP configurations. */
@JsonProperty(value = "properties.ipConfigurations") private List<PrivateLinkServiceIpConfiguration> ipConfigurations;
An array of references to the network interfaces created for this private link service.
/** * An array of references to the network interfaces created for this * private link service. */
@JsonProperty(value = "properties.networkInterfaces", access = JsonProperty.Access.WRITE_ONLY) private List<NetworkInterfaceInner> networkInterfaces;
The provisioning state of the private link service resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
/** * The provisioning state of the private link service resource. Possible * values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'. */
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) private ProvisioningState provisioningState;
An array of list about connections to the private endpoint.
/** * An array of list about connections to the private endpoint. */
@JsonProperty(value = "properties.privateEndpointConnections", access = JsonProperty.Access.WRITE_ONLY) private List<PrivateEndpointConnectionInner> privateEndpointConnections;
The visibility list of the private link service.
/** * The visibility list of the private link service. */
@JsonProperty(value = "properties.visibility") private PrivateLinkServicePropertiesVisibility visibility;
The auto-approval list of the private link service.
/** * The auto-approval list of the private link service. */
@JsonProperty(value = "properties.autoApproval") private PrivateLinkServicePropertiesAutoApproval autoApproval;
The list of Fqdn.
/** * The list of Fqdn. */
@JsonProperty(value = "properties.fqdns") private List<String> fqdns;
The alias of the private link service.
/** * The alias of the private link service. */
@JsonProperty(value = "properties.alias", access = JsonProperty.Access.WRITE_ONLY) private String alias;
Whether the private link service is enabled for proxy protocol or not.
/** * Whether the private link service is enabled for proxy protocol or not. */
@JsonProperty(value = "properties.enableProxyProtocol") private Boolean enableProxyProtocol;
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;
Resource ID.
/** * Resource ID. */
@JsonProperty(value = "id") private String id;
Get an array of references to the load balancer IP configurations.
Returns:the loadBalancerFrontendIpConfigurations value
/** * Get an array of references to the load balancer IP configurations. * * @return the loadBalancerFrontendIpConfigurations value */
public List<FrontendIPConfigurationInner> loadBalancerFrontendIpConfigurations() { return this.loadBalancerFrontendIpConfigurations; }
Set an array of references to the load balancer IP configurations.
Params:
  • loadBalancerFrontendIpConfigurations – the loadBalancerFrontendIpConfigurations value to set
Returns:the PrivateLinkServiceInner object itself.
/** * Set an array of references to the load balancer IP configurations. * * @param loadBalancerFrontendIpConfigurations the loadBalancerFrontendIpConfigurations value to set * @return the PrivateLinkServiceInner object itself. */
public PrivateLinkServiceInner withLoadBalancerFrontendIpConfigurations(List<FrontendIPConfigurationInner> loadBalancerFrontendIpConfigurations) { this.loadBalancerFrontendIpConfigurations = loadBalancerFrontendIpConfigurations; return this; }
Get an array of private link service IP configurations.
Returns:the ipConfigurations value
/** * Get an array of private link service IP configurations. * * @return the ipConfigurations value */
public List<PrivateLinkServiceIpConfiguration> ipConfigurations() { return this.ipConfigurations; }
Set an array of private link service IP configurations.
Params:
  • ipConfigurations – the ipConfigurations value to set
Returns:the PrivateLinkServiceInner object itself.
/** * Set an array of private link service IP configurations. * * @param ipConfigurations the ipConfigurations value to set * @return the PrivateLinkServiceInner object itself. */
public PrivateLinkServiceInner withIpConfigurations(List<PrivateLinkServiceIpConfiguration> ipConfigurations) { this.ipConfigurations = ipConfigurations; return this; }
Get an array of references to the network interfaces created for this private link service.
Returns:the networkInterfaces value
/** * Get an array of references to the network interfaces created for this private link service. * * @return the networkInterfaces value */
public List<NetworkInterfaceInner> networkInterfaces() { return this.networkInterfaces; }
Get the provisioning state of the private link service resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
Returns:the provisioningState value
/** * Get the provisioning state of the private link service resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'. * * @return the provisioningState value */
public ProvisioningState provisioningState() { return this.provisioningState; }
Get an array of list about connections to the private endpoint.
Returns:the privateEndpointConnections value
/** * Get an array of list about connections to the private endpoint. * * @return the privateEndpointConnections value */
public List<PrivateEndpointConnectionInner> privateEndpointConnections() { return this.privateEndpointConnections; }
Get the visibility list of the private link service.
Returns:the visibility value
/** * Get the visibility list of the private link service. * * @return the visibility value */
public PrivateLinkServicePropertiesVisibility visibility() { return this.visibility; }
Set the visibility list of the private link service.
Params:
  • visibility – the visibility value to set
Returns:the PrivateLinkServiceInner object itself.
/** * Set the visibility list of the private link service. * * @param visibility the visibility value to set * @return the PrivateLinkServiceInner object itself. */
public PrivateLinkServiceInner withVisibility(PrivateLinkServicePropertiesVisibility visibility) { this.visibility = visibility; return this; }
Get the auto-approval list of the private link service.
Returns:the autoApproval value
/** * Get the auto-approval list of the private link service. * * @return the autoApproval value */
public PrivateLinkServicePropertiesAutoApproval autoApproval() { return this.autoApproval; }
Set the auto-approval list of the private link service.
Params:
  • autoApproval – the autoApproval value to set
Returns:the PrivateLinkServiceInner object itself.
/** * Set the auto-approval list of the private link service. * * @param autoApproval the autoApproval value to set * @return the PrivateLinkServiceInner object itself. */
public PrivateLinkServiceInner withAutoApproval(PrivateLinkServicePropertiesAutoApproval autoApproval) { this.autoApproval = autoApproval; return this; }
Get the list of Fqdn.
Returns:the fqdns value
/** * Get the list of Fqdn. * * @return the fqdns value */
public List<String> fqdns() { return this.fqdns; }
Set the list of Fqdn.
Params:
  • fqdns – the fqdns value to set
Returns:the PrivateLinkServiceInner object itself.
/** * Set the list of Fqdn. * * @param fqdns the fqdns value to set * @return the PrivateLinkServiceInner object itself. */
public PrivateLinkServiceInner withFqdns(List<String> fqdns) { this.fqdns = fqdns; return this; }
Get the alias of the private link service.
Returns:the alias value
/** * Get the alias of the private link service. * * @return the alias value */
public String alias() { return this.alias; }
Get whether the private link service is enabled for proxy protocol or not.
Returns:the enableProxyProtocol value
/** * Get whether the private link service is enabled for proxy protocol or not. * * @return the enableProxyProtocol value */
public Boolean enableProxyProtocol() { return this.enableProxyProtocol; }
Set whether the private link service is enabled for proxy protocol or not.
Params:
  • enableProxyProtocol – the enableProxyProtocol value to set
Returns:the PrivateLinkServiceInner object itself.
/** * Set whether the private link service is enabled for proxy protocol or not. * * @param enableProxyProtocol the enableProxyProtocol value to set * @return the PrivateLinkServiceInner object itself. */
public PrivateLinkServiceInner withEnableProxyProtocol(Boolean enableProxyProtocol) { this.enableProxyProtocol = enableProxyProtocol; return this; }
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; }
Get resource ID.
Returns:the id value
/** * Get resource ID. * * @return the id value */
public String id() { return this.id; }
Set resource ID.
Params:
  • id – the id value to set
Returns:the PrivateLinkServiceInner object itself.
/** * Set resource ID. * * @param id the id value to set * @return the PrivateLinkServiceInner object itself. */
public PrivateLinkServiceInner withId(String id) { this.id = id; return this; } }