IstioEgressGateway Class

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

Implements

public final class IstioEgressGateway
implements JsonSerializable<IstioEgressGateway>

Istio egress gateway configuration.

Constructor Summary

Constructor Description
IstioEgressGateway()

Creates an instance of IstioEgressGateway class.

Method Summary

Modifier and Type Method and Description
boolean enabled()

Get the enabled property: Whether to enable the egress gateway.

static IstioEgressGateway fromJson(JsonReader jsonReader)

Reads an instance of IstioEgressGateway from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

IstioEgressGateway withEnabled(boolean enabled)

Set the enabled property: Whether to enable the egress gateway.

Methods inherited from java.lang.Object

Constructor Details

IstioEgressGateway

public IstioEgressGateway()

Creates an instance of IstioEgressGateway class.

Method Details

enabled

public boolean enabled()

Get the enabled property: Whether to enable the egress gateway.

Returns:

the enabled value.

fromJson

public static IstioEgressGateway fromJson(JsonReader jsonReader)

Reads an instance of IstioEgressGateway from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnabled

public IstioEgressGateway withEnabled(boolean enabled)

Set the enabled property: Whether to enable the egress gateway.

Parameters:

enabled - the enabled value to set.

Returns:

the IstioEgressGateway object itself.

Applies to