Class BackendAddressInboundNatRulePortMappingsInner
java.lang.Object
com.azure.resourcemanager.network.fluent.models.BackendAddressInboundNatRulePortMappingsInner
The response for a QueryInboundNatRulePortMapping API.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of BackendAddressInboundNatRulePortMappingsInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the inboundNatRulePortMappings property: Collection of inbound NAT rule port mappings.voidvalidate()Validates the instance.withInboundNatRulePortMappings(List<InboundNatRulePortMapping> inboundNatRulePortMappings) Set the inboundNatRulePortMappings property: Collection of inbound NAT rule port mappings.
-
Constructor Details
-
BackendAddressInboundNatRulePortMappingsInner
public BackendAddressInboundNatRulePortMappingsInner()Creates an instance of BackendAddressInboundNatRulePortMappingsInner class.
-
-
Method Details
-
inboundNatRulePortMappings
Get the inboundNatRulePortMappings property: Collection of inbound NAT rule port mappings.- Returns:
- the inboundNatRulePortMappings value.
-
withInboundNatRulePortMappings
public BackendAddressInboundNatRulePortMappingsInner withInboundNatRulePortMappings(List<InboundNatRulePortMapping> inboundNatRulePortMappings) Set the inboundNatRulePortMappings property: Collection of inbound NAT rule port mappings.- Parameters:
inboundNatRulePortMappings- the inboundNatRulePortMappings value to set.- Returns:
- the BackendAddressInboundNatRulePortMappingsInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-