ManagedClusterNATGatewayProfileOutboundIpPrefixes Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.ManagedClusterNATGatewayProfileOutboundIpPrefixes

Implements

public final class ManagedClusterNATGatewayProfileOutboundIpPrefixes
implements JsonSerializable<ManagedClusterNATGatewayProfileOutboundIpPrefixes>

The ManagedClusterNATGatewayProfileOutboundIpPrefixes model.

Constructor Summary

Constructor Description
ManagedClusterNATGatewayProfileOutboundIpPrefixes()

Creates an instance of ManagedClusterNATGatewayProfileOutboundIpPrefixes class.

Method Summary

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

Reads an instance of ManagedClusterNATGatewayProfileOutboundIpPrefixes from the JsonReader.

List<String> publicIPPrefixes()

Get the publicIPPrefixes property: A list of public IP prefix resources.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedClusterNATGatewayProfileOutboundIpPrefixes withPublicIPPrefixes(List<String> publicIPPrefixes)

Set the publicIPPrefixes property: A list of public IP prefix resources.

Methods inherited from java.lang.Object

Constructor Details

ManagedClusterNATGatewayProfileOutboundIpPrefixes

public ManagedClusterNATGatewayProfileOutboundIpPrefixes()

Creates an instance of ManagedClusterNATGatewayProfileOutboundIpPrefixes class.

Method Details

fromJson

public static ManagedClusterNATGatewayProfileOutboundIpPrefixes fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterNATGatewayProfileOutboundIpPrefixes from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedClusterNATGatewayProfileOutboundIpPrefixes 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 ManagedClusterNATGatewayProfileOutboundIpPrefixes.

publicIPPrefixes

public List<String> publicIPPrefixes()

Get the publicIPPrefixes property: A list of public IP prefix resources.

Returns:

the publicIPPrefixes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPublicIPPrefixes

public ManagedClusterNATGatewayProfileOutboundIpPrefixes withPublicIPPrefixes(List<String> publicIPPrefixes)

Set the publicIPPrefixes property: A list of public IP prefix resources.

Parameters:

publicIPPrefixes - the publicIPPrefixes value to set.

Returns:

the ManagedClusterNATGatewayProfileOutboundIpPrefixes object itself.

Applies to