GatewayOperatorProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.GatewayOperatorProperties

Implements

public final class GatewayOperatorProperties
implements JsonSerializable<GatewayOperatorProperties>

Properties of the Spring Cloud Gateway Operator.

Constructor Summary

Constructor Description
GatewayOperatorProperties()

Creates an instance of GatewayOperatorProperties class.

Method Summary

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

Reads an instance of GatewayOperatorProperties from the JsonReader.

List<GatewayInstance> instances()

Get the instances property: Collection of instances belong to Spring Cloud Gateway operator.

GatewayOperatorResourceRequests resourceRequests()

Get the resourceRequests property: The requested resource quantity for required CPU and Memory.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

GatewayOperatorProperties

public GatewayOperatorProperties()

Creates an instance of GatewayOperatorProperties class.

Method Details

fromJson

public static GatewayOperatorProperties fromJson(JsonReader jsonReader)

Reads an instance of GatewayOperatorProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

instances

public List instances()

Get the instances property: Collection of instances belong to Spring Cloud Gateway operator.

Returns:

the instances value.

resourceRequests

public GatewayOperatorResourceRequests resourceRequests()

Get the resourceRequests property: The requested resource quantity for required CPU and Memory.

Returns:

the resourceRequests value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to