ManagedClusterNATGatewayProfileOutboundIPs Class

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

Implements

public final class ManagedClusterNATGatewayProfileOutboundIPs
implements JsonSerializable<ManagedClusterNATGatewayProfileOutboundIPs>

The ManagedClusterNATGatewayProfileOutboundIPs model.

Constructor Summary

Constructor Description
ManagedClusterNATGatewayProfileOutboundIPs()

Creates an instance of ManagedClusterNATGatewayProfileOutboundIPs class.

Method Summary

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

Reads an instance of ManagedClusterNATGatewayProfileOutboundIPs from the JsonReader.

List<String> publicIPs()

Get the publicIPs property: A list of public IP resources.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedClusterNATGatewayProfileOutboundIPs withPublicIPs(List<String> publicIPs)

Set the publicIPs property: A list of public IP resources.

Methods inherited from java.lang.Object

Constructor Details

ManagedClusterNATGatewayProfileOutboundIPs

public ManagedClusterNATGatewayProfileOutboundIPs()

Creates an instance of ManagedClusterNATGatewayProfileOutboundIPs class.

Method Details

fromJson

public static ManagedClusterNATGatewayProfileOutboundIPs fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterNATGatewayProfileOutboundIPs from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

publicIPs

public List<String> publicIPs()

Get the publicIPs property: A list of public IP resources.

Returns:

the publicIPs value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPublicIPs

public ManagedClusterNATGatewayProfileOutboundIPs withPublicIPs(List<String> publicIPs)

Set the publicIPs property: A list of public IP resources.

Parameters:

publicIPs - the publicIPs value to set.

Returns:

the ManagedClusterNATGatewayProfileOutboundIPs object itself.

Applies to