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; import com.microsoft.azure.SubResource; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten;
Frontend IP configuration of an application gateway.
/** * Frontend IP configuration of an application gateway. */
@JsonFlatten public class ApplicationGatewayFrontendIPConfiguration extends SubResource {
PrivateIPAddress of the network interface IP Configuration.
/** * PrivateIPAddress of the network interface IP Configuration. */
@JsonProperty(value = "properties.privateIPAddress") private String privateIPAddress;
The private IP address allocation method. Possible values include: 'Static', 'Dynamic'.
/** * The private IP address allocation method. Possible values include: * 'Static', 'Dynamic'. */
@JsonProperty(value = "properties.privateIPAllocationMethod") private IPAllocationMethod privateIPAllocationMethod;
Reference to the subnet resource.
/** * Reference to the subnet resource. */
@JsonProperty(value = "properties.subnet") private SubResource subnet;
Reference to the PublicIP resource.
/** * Reference to the PublicIP resource. */
@JsonProperty(value = "properties.publicIPAddress") private SubResource publicIPAddress;
The provisioning state of the frontend IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
/** * The provisioning state of the frontend IP configuration resource. * Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'. */
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) private ProvisioningState provisioningState;
Name of the frontend IP configuration that is unique within an Application Gateway.
/** * Name of the frontend IP configuration that is unique within an * Application Gateway. */
@JsonProperty(value = "name") private String name;
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;
Type of the resource.
/** * Type of the resource. */
@JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY) private String type;
Get privateIPAddress of the network interface IP Configuration.
Returns:the privateIPAddress value
/** * Get privateIPAddress of the network interface IP Configuration. * * @return the privateIPAddress value */
public String privateIPAddress() { return this.privateIPAddress; }
Set privateIPAddress of the network interface IP Configuration.
Params:
  • privateIPAddress – the privateIPAddress value to set
Returns:the ApplicationGatewayFrontendIPConfiguration object itself.
/** * Set privateIPAddress of the network interface IP Configuration. * * @param privateIPAddress the privateIPAddress value to set * @return the ApplicationGatewayFrontendIPConfiguration object itself. */
public ApplicationGatewayFrontendIPConfiguration withPrivateIPAddress(String privateIPAddress) { this.privateIPAddress = privateIPAddress; return this; }
Get the private IP address allocation method. Possible values include: 'Static', 'Dynamic'.
Returns:the privateIPAllocationMethod value
/** * Get the private IP address allocation method. Possible values include: 'Static', 'Dynamic'. * * @return the privateIPAllocationMethod value */
public IPAllocationMethod privateIPAllocationMethod() { return this.privateIPAllocationMethod; }
Set the private IP address allocation method. Possible values include: 'Static', 'Dynamic'.
Params:
  • privateIPAllocationMethod – the privateIPAllocationMethod value to set
Returns:the ApplicationGatewayFrontendIPConfiguration object itself.
/** * Set the private IP address allocation method. Possible values include: 'Static', 'Dynamic'. * * @param privateIPAllocationMethod the privateIPAllocationMethod value to set * @return the ApplicationGatewayFrontendIPConfiguration object itself. */
public ApplicationGatewayFrontendIPConfiguration withPrivateIPAllocationMethod(IPAllocationMethod privateIPAllocationMethod) { this.privateIPAllocationMethod = privateIPAllocationMethod; return this; }
Get reference to the subnet resource.
Returns:the subnet value
/** * Get reference to the subnet resource. * * @return the subnet value */
public SubResource subnet() { return this.subnet; }
Set reference to the subnet resource.
Params:
  • subnet – the subnet value to set
Returns:the ApplicationGatewayFrontendIPConfiguration object itself.
/** * Set reference to the subnet resource. * * @param subnet the subnet value to set * @return the ApplicationGatewayFrontendIPConfiguration object itself. */
public ApplicationGatewayFrontendIPConfiguration withSubnet(SubResource subnet) { this.subnet = subnet; return this; }
Get reference to the PublicIP resource.
Returns:the publicIPAddress value
/** * Get reference to the PublicIP resource. * * @return the publicIPAddress value */
public SubResource publicIPAddress() { return this.publicIPAddress; }
Set reference to the PublicIP resource.
Params:
  • publicIPAddress – the publicIPAddress value to set
Returns:the ApplicationGatewayFrontendIPConfiguration object itself.
/** * Set reference to the PublicIP resource. * * @param publicIPAddress the publicIPAddress value to set * @return the ApplicationGatewayFrontendIPConfiguration object itself. */
public ApplicationGatewayFrontendIPConfiguration withPublicIPAddress(SubResource publicIPAddress) { this.publicIPAddress = publicIPAddress; return this; }
Get the provisioning state of the frontend IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
Returns:the provisioningState value
/** * Get the provisioning state of the frontend IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'. * * @return the provisioningState value */
public ProvisioningState provisioningState() { return this.provisioningState; }
Get name of the frontend IP configuration that is unique within an Application Gateway.
Returns:the name value
/** * Get name of the frontend IP configuration that is unique within an Application Gateway. * * @return the name value */
public String name() { return this.name; }
Set name of the frontend IP configuration that is unique within an Application Gateway.
Params:
  • name – the name value to set
Returns:the ApplicationGatewayFrontendIPConfiguration object itself.
/** * Set name of the frontend IP configuration that is unique within an Application Gateway. * * @param name the name value to set * @return the ApplicationGatewayFrontendIPConfiguration object itself. */
public ApplicationGatewayFrontendIPConfiguration withName(String name) { this.name = name; 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 type of the resource.
Returns:the type value
/** * Get type of the resource. * * @return the type value */
public String type() { return this.type; } }