Share via


NicIpConfigurationResourceSettings Class

  • java.lang.Object
    • com.microsoft.azure.management.resourcemover.v2021_01_01.NicIpConfigurationResourceSettings

public class NicIpConfigurationResourceSettings

Defines NIC IP configuration properties.

Constructor Summary

Constructor Description
NicIpConfigurationResourceSettings()

Method Summary

Modifier and Type Method and Description
java.util.List<LoadBalancerBackendAddressPoolReference> loadBalancerBackendAddressPools()

Get gets or sets the references of the load balancer backend address pools.

java.util.List<LoadBalancerNatRuleReference> loadBalancerNatRules()

Get gets or sets the references of the load balancer NAT rules.

java.lang.String name()

Get gets or sets the IP configuration name.

java.lang.Boolean primary()

Get gets or sets a value indicating whether this IP configuration is the primary.

java.lang.String privateIpAddress()

Get gets or sets the private IP address of the network interface IP Configuration.

java.lang.String privateIpAllocationMethod()

Get gets or sets the private IP address allocation method.

PublicIpReference publicIp()

Get the publicIp value.

SubnetReference subnet()

Get the subnet value.

NicIpConfigurationResourceSettings withLoadBalancerBackendAddressPools(List<LoadBalancerBackendAddressPoolReference> loadBalancerBackendAddressPools)

Set gets or sets the references of the load balancer backend address pools.

NicIpConfigurationResourceSettings withLoadBalancerNatRules(List<LoadBalancerNatRuleReference> loadBalancerNatRules)

Set gets or sets the references of the load balancer NAT rules.

NicIpConfigurationResourceSettings withName(String name)

Set gets or sets the IP configuration name.

NicIpConfigurationResourceSettings withPrimary(Boolean primary)

Set gets or sets a value indicating whether this IP configuration is the primary.

NicIpConfigurationResourceSettings withPrivateIpAddress(String privateIpAddress)

Set gets or sets the private IP address of the network interface IP Configuration.

NicIpConfigurationResourceSettings withPrivateIpAllocationMethod(String privateIpAllocationMethod)

Set gets or sets the private IP address allocation method.

NicIpConfigurationResourceSettings withPublicIp(PublicIpReference publicIp)

Set the publicIp value.

NicIpConfigurationResourceSettings withSubnet(SubnetReference subnet)

Set the subnet value.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

NicIpConfigurationResourceSettings

public NicIpConfigurationResourceSettings()

Method Details

loadBalancerBackendAddressPools

public List<LoadBalancerBackendAddressPoolReference> loadBalancerBackendAddressPools()

Get gets or sets the references of the load balancer backend address pools.

Returns:

the loadBalancerBackendAddressPools value

loadBalancerNatRules

public List<LoadBalancerNatRuleReference> loadBalancerNatRules()

Get gets or sets the references of the load balancer NAT rules.

Returns:

the loadBalancerNatRules value

name

public String name()

Get gets or sets the IP configuration name.

Returns:

the name value

primary

public Boolean primary()

Get gets or sets a value indicating whether this IP configuration is the primary.

Returns:

the primary value

privateIpAddress

public String privateIpAddress()

Get gets or sets the private IP address of the network interface IP Configuration.

Returns:

the privateIpAddress value

privateIpAllocationMethod

public String privateIpAllocationMethod()

Get gets or sets the private IP address allocation method.

Returns:

the privateIpAllocationMethod value

publicIp

public PublicIpReference publicIp()

Get the publicIp value.

Returns:

the publicIp value

subnet

public SubnetReference subnet()

Get the subnet value.

Returns:

the subnet value

withLoadBalancerBackendAddressPools

public NicIpConfigurationResourceSettings withLoadBalancerBackendAddressPools(List<LoadBalancerBackendAddressPoolReference> loadBalancerBackendAddressPools)

Set gets or sets the references of the load balancer backend address pools.

Parameters:

loadBalancerBackendAddressPools - the loadBalancerBackendAddressPools value to set

Returns:

the NicIpConfigurationResourceSettings object itself.

withLoadBalancerNatRules

public NicIpConfigurationResourceSettings withLoadBalancerNatRules(List<LoadBalancerNatRuleReference> loadBalancerNatRules)

Set gets or sets the references of the load balancer NAT rules.

Parameters:

loadBalancerNatRules - the loadBalancerNatRules value to set

Returns:

the NicIpConfigurationResourceSettings object itself.

withName

public NicIpConfigurationResourceSettings withName(String name)

Set gets or sets the IP configuration name.

Parameters:

name - the name value to set

Returns:

the NicIpConfigurationResourceSettings object itself.

withPrimary

public NicIpConfigurationResourceSettings withPrimary(Boolean primary)

Set gets or sets a value indicating whether this IP configuration is the primary.

Parameters:

primary - the primary value to set

Returns:

the NicIpConfigurationResourceSettings object itself.

withPrivateIpAddress

public NicIpConfigurationResourceSettings withPrivateIpAddress(String privateIpAddress)

Set gets or sets the private IP address of the network interface IP Configuration.

Parameters:

privateIpAddress - the privateIpAddress value to set

Returns:

the NicIpConfigurationResourceSettings object itself.

withPrivateIpAllocationMethod

public NicIpConfigurationResourceSettings withPrivateIpAllocationMethod(String privateIpAllocationMethod)

Set gets or sets the private IP address allocation method.

Parameters:

privateIpAllocationMethod - the privateIpAllocationMethod value to set

Returns:

the NicIpConfigurationResourceSettings object itself.

withPublicIp

public NicIpConfigurationResourceSettings withPublicIp(PublicIpReference publicIp)

Set the publicIp value.

Parameters:

publicIp - the publicIp value to set

Returns:

the NicIpConfigurationResourceSettings object itself.

withSubnet

public NicIpConfigurationResourceSettings withSubnet(SubnetReference subnet)

Set the subnet value.

Parameters:

subnet - the subnet value to set

Returns:

the NicIpConfigurationResourceSettings object itself.

Applies to