BackendAddressInboundNatRulePortMappingsInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.BackendAddressInboundNatRulePortMappingsInner

Implements

public final class BackendAddressInboundNatRulePortMappingsInner
implements JsonSerializable<BackendAddressInboundNatRulePortMappingsInner>

The response for a QueryInboundNatRulePortMapping API.

Constructor Summary

Constructor Description
BackendAddressInboundNatRulePortMappingsInner()

Creates an instance of BackendAddressInboundNatRulePortMappingsInner class.

Method Summary

Modifier and Type Method and Description
static BackendAddressInboundNatRulePortMappingsInner fromJson(JsonReader jsonReader)

Reads an instance of BackendAddressInboundNatRulePortMappingsInner from the JsonReader.

List<InboundNatRulePortMapping> inboundNatRulePortMappings()

Get the inboundNatRulePortMappings property: Collection of inbound NAT rule port mappings.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

BackendAddressInboundNatRulePortMappingsInner withInboundNatRulePortMappings(List<InboundNatRulePortMapping> inboundNatRulePortMappings)

Set the inboundNatRulePortMappings property: Collection of inbound NAT rule port mappings.

Methods inherited from java.lang.Object

Constructor Details

BackendAddressInboundNatRulePortMappingsInner

public BackendAddressInboundNatRulePortMappingsInner()

Creates an instance of BackendAddressInboundNatRulePortMappingsInner class.

Method Details

fromJson

public static BackendAddressInboundNatRulePortMappingsInner fromJson(JsonReader jsonReader)

Reads an instance of BackendAddressInboundNatRulePortMappingsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BackendAddressInboundNatRulePortMappingsInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the BackendAddressInboundNatRulePortMappingsInner.

inboundNatRulePortMappings

public List inboundNatRulePortMappings()

Get the inboundNatRulePortMappings property: Collection of inbound NAT rule port mappings.

Returns:

the inboundNatRulePortMappings value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withInboundNatRulePortMappings

public BackendAddressInboundNatRulePortMappingsInner withInboundNatRulePortMappings(List inboundNatRulePortMappings)

Set the inboundNatRulePortMappings property: Collection of inbound NAT rule port mappings.

Parameters:

inboundNatRulePortMappings - the inboundNatRulePortMappings value to set.

Returns:

the BackendAddressInboundNatRulePortMappingsInner object itself.

Applies to