ApplicationGatewayGlobalConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ApplicationGatewayGlobalConfiguration

Implements

public final class ApplicationGatewayGlobalConfiguration
implements JsonSerializable<ApplicationGatewayGlobalConfiguration>

Application Gateway global configuration.

Constructor Summary

Constructor Description
ApplicationGatewayGlobalConfiguration()

Creates an instance of ApplicationGatewayGlobalConfiguration class.

Method Summary

Modifier and Type Method and Description
Boolean enableRequestBuffering()

Get the enableRequestBuffering property: Enable request buffering.

Boolean enableResponseBuffering()

Get the enableResponseBuffering property: Enable response buffering.

static ApplicationGatewayGlobalConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayGlobalConfiguration from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationGatewayGlobalConfiguration withEnableRequestBuffering(Boolean enableRequestBuffering)

Set the enableRequestBuffering property: Enable request buffering.

ApplicationGatewayGlobalConfiguration withEnableResponseBuffering(Boolean enableResponseBuffering)

Set the enableResponseBuffering property: Enable response buffering.

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayGlobalConfiguration

public ApplicationGatewayGlobalConfiguration()

Creates an instance of ApplicationGatewayGlobalConfiguration class.

Method Details

enableRequestBuffering

public Boolean enableRequestBuffering()

Get the enableRequestBuffering property: Enable request buffering.

Returns:

the enableRequestBuffering value.

enableResponseBuffering

public Boolean enableResponseBuffering()

Get the enableResponseBuffering property: Enable response buffering.

Returns:

the enableResponseBuffering value.

fromJson

public static ApplicationGatewayGlobalConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayGlobalConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnableRequestBuffering

public ApplicationGatewayGlobalConfiguration withEnableRequestBuffering(Boolean enableRequestBuffering)

Set the enableRequestBuffering property: Enable request buffering.

Parameters:

enableRequestBuffering - the enableRequestBuffering value to set.

Returns:

the ApplicationGatewayGlobalConfiguration object itself.

withEnableResponseBuffering

public ApplicationGatewayGlobalConfiguration withEnableResponseBuffering(Boolean enableResponseBuffering)

Set the enableResponseBuffering property: Enable response buffering.

Parameters:

enableResponseBuffering - the enableResponseBuffering value to set.

Returns:

the ApplicationGatewayGlobalConfiguration object itself.

Applies to