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.ApplicationGatewayBackendAddressPool;
import com.microsoft.azure.management.network.IPAllocationMethod;
import com.microsoft.azure.management.network.IPVersion;
import com.microsoft.azure.management.network.ProvisioningState;
import com.microsoft.azure.management.network.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.SubResource;
IPConfiguration in a network interface.
/**
* IPConfiguration in a network interface.
*/
@JsonFlatten
public class NetworkInterfaceIPConfigurationInner extends SubResource {
The reference to Virtual Network Taps.
/**
* The reference to Virtual Network Taps.
*/
@JsonProperty(value = "properties.virtualNetworkTaps")
private List<VirtualNetworkTapInner> virtualNetworkTaps;
The reference to ApplicationGatewayBackendAddressPool resource.
/**
* The reference to ApplicationGatewayBackendAddressPool resource.
*/
@JsonProperty(value = "properties.applicationGatewayBackendAddressPools")
private List<ApplicationGatewayBackendAddressPool> applicationGatewayBackendAddressPools;
The reference to LoadBalancerBackendAddressPool resource.
/**
* The reference to LoadBalancerBackendAddressPool resource.
*/
@JsonProperty(value = "properties.loadBalancerBackendAddressPools")
private List<BackendAddressPoolInner> loadBalancerBackendAddressPools;
A list of references of LoadBalancerInboundNatRules.
/**
* A list of references of LoadBalancerInboundNatRules.
*/
@JsonProperty(value = "properties.loadBalancerInboundNatRules")
private List<InboundNatRuleInner> loadBalancerInboundNatRules;
Private IP address of the IP configuration.
/**
* Private IP address of the 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;
Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
Possible values include: 'IPv4', 'IPv6'.
/**
* Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
* Possible values include: 'IPv4', 'IPv6'.
*/
@JsonProperty(value = "properties.privateIPAddressVersion")
private IPVersion privateIPAddressVersion;
Subnet bound to the IP configuration.
/**
* Subnet bound to the IP configuration.
*/
@JsonProperty(value = "properties.subnet")
private SubnetInner subnet;
Whether this is a primary customer address on the network interface.
/**
* Whether this is a primary customer address on the network interface.
*/
@JsonProperty(value = "properties.primary")
private Boolean primary;
Public IP address bound to the IP configuration.
/**
* Public IP address bound to the IP configuration.
*/
@JsonProperty(value = "properties.publicIPAddress")
private PublicIPAddressInner publicIPAddress;
Application security groups in which the IP configuration is included.
/**
* Application security groups in which the IP configuration is included.
*/
@JsonProperty(value = "properties.applicationSecurityGroups")
private List<ApplicationSecurityGroupInner> applicationSecurityGroups;
The provisioning state of the network interface IP configuration.
Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
/**
* The provisioning state of the network interface IP configuration.
* Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
*/
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private ProvisioningState provisioningState;
PrivateLinkConnection properties for the network interface.
/**
* PrivateLinkConnection properties for the network interface.
*/
@JsonProperty(value = "properties.privateLinkConnectionProperties", access = JsonProperty.Access.WRITE_ONLY)
private NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties privateLinkConnectionProperties;
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;
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 reference to Virtual Network Taps.
Returns: the virtualNetworkTaps value
/**
* Get the reference to Virtual Network Taps.
*
* @return the virtualNetworkTaps value
*/
public List<VirtualNetworkTapInner> virtualNetworkTaps() {
return this.virtualNetworkTaps;
}
Set the reference to Virtual Network Taps.
Params: - virtualNetworkTaps – the virtualNetworkTaps value to set
Returns: the NetworkInterfaceIPConfigurationInner object itself.
/**
* Set the reference to Virtual Network Taps.
*
* @param virtualNetworkTaps the virtualNetworkTaps value to set
* @return the NetworkInterfaceIPConfigurationInner object itself.
*/
public NetworkInterfaceIPConfigurationInner withVirtualNetworkTaps(List<VirtualNetworkTapInner> virtualNetworkTaps) {
this.virtualNetworkTaps = virtualNetworkTaps;
return this;
}
Get the reference to ApplicationGatewayBackendAddressPool resource.
Returns: the applicationGatewayBackendAddressPools value
/**
* Get the reference to ApplicationGatewayBackendAddressPool resource.
*
* @return the applicationGatewayBackendAddressPools value
*/
public List<ApplicationGatewayBackendAddressPool> applicationGatewayBackendAddressPools() {
return this.applicationGatewayBackendAddressPools;
}
Set the reference to ApplicationGatewayBackendAddressPool resource.
Params: - applicationGatewayBackendAddressPools – the applicationGatewayBackendAddressPools value to set
Returns: the NetworkInterfaceIPConfigurationInner object itself.
/**
* Set the reference to ApplicationGatewayBackendAddressPool resource.
*
* @param applicationGatewayBackendAddressPools the applicationGatewayBackendAddressPools value to set
* @return the NetworkInterfaceIPConfigurationInner object itself.
*/
public NetworkInterfaceIPConfigurationInner withApplicationGatewayBackendAddressPools(List<ApplicationGatewayBackendAddressPool> applicationGatewayBackendAddressPools) {
this.applicationGatewayBackendAddressPools = applicationGatewayBackendAddressPools;
return this;
}
Get the reference to LoadBalancerBackendAddressPool resource.
Returns: the loadBalancerBackendAddressPools value
/**
* Get the reference to LoadBalancerBackendAddressPool resource.
*
* @return the loadBalancerBackendAddressPools value
*/
public List<BackendAddressPoolInner> loadBalancerBackendAddressPools() {
return this.loadBalancerBackendAddressPools;
}
Set the reference to LoadBalancerBackendAddressPool resource.
Params: - loadBalancerBackendAddressPools – the loadBalancerBackendAddressPools value to set
Returns: the NetworkInterfaceIPConfigurationInner object itself.
/**
* Set the reference to LoadBalancerBackendAddressPool resource.
*
* @param loadBalancerBackendAddressPools the loadBalancerBackendAddressPools value to set
* @return the NetworkInterfaceIPConfigurationInner object itself.
*/
public NetworkInterfaceIPConfigurationInner withLoadBalancerBackendAddressPools(List<BackendAddressPoolInner> loadBalancerBackendAddressPools) {
this.loadBalancerBackendAddressPools = loadBalancerBackendAddressPools;
return this;
}
Get a list of references of LoadBalancerInboundNatRules.
Returns: the loadBalancerInboundNatRules value
/**
* Get a list of references of LoadBalancerInboundNatRules.
*
* @return the loadBalancerInboundNatRules value
*/
public List<InboundNatRuleInner> loadBalancerInboundNatRules() {
return this.loadBalancerInboundNatRules;
}
Set a list of references of LoadBalancerInboundNatRules.
Params: - loadBalancerInboundNatRules – the loadBalancerInboundNatRules value to set
Returns: the NetworkInterfaceIPConfigurationInner object itself.
/**
* Set a list of references of LoadBalancerInboundNatRules.
*
* @param loadBalancerInboundNatRules the loadBalancerInboundNatRules value to set
* @return the NetworkInterfaceIPConfigurationInner object itself.
*/
public NetworkInterfaceIPConfigurationInner withLoadBalancerInboundNatRules(List<InboundNatRuleInner> loadBalancerInboundNatRules) {
this.loadBalancerInboundNatRules = loadBalancerInboundNatRules;
return this;
}
Get private IP address of the IP configuration.
Returns: the privateIPAddress value
/**
* Get private IP address of the IP configuration.
*
* @return the privateIPAddress value
*/
public String privateIPAddress() {
return this.privateIPAddress;
}
Set private IP address of the IP configuration.
Params: - privateIPAddress – the privateIPAddress value to set
Returns: the NetworkInterfaceIPConfigurationInner object itself.
/**
* Set private IP address of the IP configuration.
*
* @param privateIPAddress the privateIPAddress value to set
* @return the NetworkInterfaceIPConfigurationInner object itself.
*/
public NetworkInterfaceIPConfigurationInner 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 NetworkInterfaceIPConfigurationInner object itself.
/**
* Set the private IP address allocation method. Possible values include: 'Static', 'Dynamic'.
*
* @param privateIPAllocationMethod the privateIPAllocationMethod value to set
* @return the NetworkInterfaceIPConfigurationInner object itself.
*/
public NetworkInterfaceIPConfigurationInner withPrivateIPAllocationMethod(IPAllocationMethod privateIPAllocationMethod) {
this.privateIPAllocationMethod = privateIPAllocationMethod;
return this;
}
Get whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. Possible values include: 'IPv4', 'IPv6'.
Returns: the privateIPAddressVersion value
/**
* Get whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. Possible values include: 'IPv4', 'IPv6'.
*
* @return the privateIPAddressVersion value
*/
public IPVersion privateIPAddressVersion() {
return this.privateIPAddressVersion;
}
Set whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. Possible values include: 'IPv4', 'IPv6'.
Params: - privateIPAddressVersion – the privateIPAddressVersion value to set
Returns: the NetworkInterfaceIPConfigurationInner object itself.
/**
* Set whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. Possible values include: 'IPv4', 'IPv6'.
*
* @param privateIPAddressVersion the privateIPAddressVersion value to set
* @return the NetworkInterfaceIPConfigurationInner object itself.
*/
public NetworkInterfaceIPConfigurationInner withPrivateIPAddressVersion(IPVersion privateIPAddressVersion) {
this.privateIPAddressVersion = privateIPAddressVersion;
return this;
}
Get subnet bound to the IP configuration.
Returns: the subnet value
/**
* Get subnet bound to the IP configuration.
*
* @return the subnet value
*/
public SubnetInner subnet() {
return this.subnet;
}
Set subnet bound to the IP configuration.
Params: - subnet – the subnet value to set
Returns: the NetworkInterfaceIPConfigurationInner object itself.
/**
* Set subnet bound to the IP configuration.
*
* @param subnet the subnet value to set
* @return the NetworkInterfaceIPConfigurationInner object itself.
*/
public NetworkInterfaceIPConfigurationInner withSubnet(SubnetInner subnet) {
this.subnet = subnet;
return this;
}
Get whether this is a primary customer address on the network interface.
Returns: the primary value
/**
* Get whether this is a primary customer address on the network interface.
*
* @return the primary value
*/
public Boolean primary() {
return this.primary;
}
Set whether this is a primary customer address on the network interface.
Params: - primary – the primary value to set
Returns: the NetworkInterfaceIPConfigurationInner object itself.
/**
* Set whether this is a primary customer address on the network interface.
*
* @param primary the primary value to set
* @return the NetworkInterfaceIPConfigurationInner object itself.
*/
public NetworkInterfaceIPConfigurationInner withPrimary(Boolean primary) {
this.primary = primary;
return this;
}
Get public IP address bound to the IP configuration.
Returns: the publicIPAddress value
/**
* Get public IP address bound to the IP configuration.
*
* @return the publicIPAddress value
*/
public PublicIPAddressInner publicIPAddress() {
return this.publicIPAddress;
}
Set public IP address bound to the IP configuration.
Params: - publicIPAddress – the publicIPAddress value to set
Returns: the NetworkInterfaceIPConfigurationInner object itself.
/**
* Set public IP address bound to the IP configuration.
*
* @param publicIPAddress the publicIPAddress value to set
* @return the NetworkInterfaceIPConfigurationInner object itself.
*/
public NetworkInterfaceIPConfigurationInner withPublicIPAddress(PublicIPAddressInner publicIPAddress) {
this.publicIPAddress = publicIPAddress;
return this;
}
Get application security groups in which the IP configuration is included.
Returns: the applicationSecurityGroups value
/**
* Get application security groups in which the IP configuration is included.
*
* @return the applicationSecurityGroups value
*/
public List<ApplicationSecurityGroupInner> applicationSecurityGroups() {
return this.applicationSecurityGroups;
}
Set application security groups in which the IP configuration is included.
Params: - applicationSecurityGroups – the applicationSecurityGroups value to set
Returns: the NetworkInterfaceIPConfigurationInner object itself.
/**
* Set application security groups in which the IP configuration is included.
*
* @param applicationSecurityGroups the applicationSecurityGroups value to set
* @return the NetworkInterfaceIPConfigurationInner object itself.
*/
public NetworkInterfaceIPConfigurationInner withApplicationSecurityGroups(List<ApplicationSecurityGroupInner> applicationSecurityGroups) {
this.applicationSecurityGroups = applicationSecurityGroups;
return this;
}
Get the provisioning state of the network interface IP configuration. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
Returns: the provisioningState value
/**
* Get the provisioning state of the network interface IP configuration. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
*
* @return the provisioningState value
*/
public ProvisioningState provisioningState() {
return this.provisioningState;
}
Get privateLinkConnection properties for the network interface.
Returns: the privateLinkConnectionProperties value
/**
* Get privateLinkConnection properties for the network interface.
*
* @return the privateLinkConnectionProperties value
*/
public NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties privateLinkConnectionProperties() {
return this.privateLinkConnectionProperties;
}
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 NetworkInterfaceIPConfigurationInner 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 NetworkInterfaceIPConfigurationInner object itself.
*/
public NetworkInterfaceIPConfigurationInner 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;
}
}