다음을 통해 공유


GatewayOperatorResourceRequests Class

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

Implements

public final class GatewayOperatorResourceRequests
implements JsonSerializable<GatewayOperatorResourceRequests>

Properties of the Spring Cloud Gateway Operator.

Constructor Summary

Constructor Description
GatewayOperatorResourceRequests()

Creates an instance of GatewayOperatorResourceRequests class.

Method Summary

Modifier and Type Method and Description
String cpu()

Get the cpu property: Cpu allocated to each Spring Cloud Gateway Operator instance.

static GatewayOperatorResourceRequests fromJson(JsonReader jsonReader)

Reads an instance of GatewayOperatorResourceRequests from the JsonReader.

Integer instanceCount()

Get the instanceCount property: Instance count of the Spring Cloud Gateway Operator.

String memory()

Get the memory property: Memory allocated to each Spring Cloud Gateway Operator instance.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

GatewayOperatorResourceRequests

public GatewayOperatorResourceRequests()

Creates an instance of GatewayOperatorResourceRequests class.

Method Details

cpu

public String cpu()

Get the cpu property: Cpu allocated to each Spring Cloud Gateway Operator instance.

Returns:

the cpu value.

fromJson

public static GatewayOperatorResourceRequests fromJson(JsonReader jsonReader)

Reads an instance of GatewayOperatorResourceRequests from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

instanceCount

public Integer instanceCount()

Get the instanceCount property: Instance count of the Spring Cloud Gateway Operator.

Returns:

the instanceCount value.

memory

public String memory()

Get the memory property: Memory allocated to each Spring Cloud Gateway Operator instance.

Returns:

the memory value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to