다음을 통해 공유


GatewayPropertiesEnvironmentVariables Class

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

Implements

public final class GatewayPropertiesEnvironmentVariables
implements JsonSerializable<GatewayPropertiesEnvironmentVariables>

Environment variables of Spring Cloud Gateway.

Constructor Summary

Constructor Description
GatewayPropertiesEnvironmentVariables()

Creates an instance of GatewayPropertiesEnvironmentVariables class.

Method Summary

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

Reads an instance of GatewayPropertiesEnvironmentVariables from the JsonReader.

Map<String,String> properties()

Get the properties property: Non-sensitive properties.

Map<String,String> secrets()

Get the secrets property: Sensitive properties.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GatewayPropertiesEnvironmentVariables withProperties(Map<String,String> properties)

Set the properties property: Non-sensitive properties.

GatewayPropertiesEnvironmentVariables withSecrets(Map<String,String> secrets)

Set the secrets property: Sensitive properties.

Methods inherited from java.lang.Object

Constructor Details

GatewayPropertiesEnvironmentVariables

public GatewayPropertiesEnvironmentVariables()

Creates an instance of GatewayPropertiesEnvironmentVariables class.

Method Details

fromJson

public static GatewayPropertiesEnvironmentVariables fromJson(JsonReader jsonReader)

Reads an instance of GatewayPropertiesEnvironmentVariables from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

properties

public Map properties()

Get the properties property: Non-sensitive properties.

Returns:

the properties value.

secrets

public Map secrets()

Get the secrets property: Sensitive properties.

Returns:

the secrets value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withProperties

public GatewayPropertiesEnvironmentVariables withProperties(Map properties)

Set the properties property: Non-sensitive properties.

Parameters:

properties - the properties value to set.

Returns:

the GatewayPropertiesEnvironmentVariables object itself.

withSecrets

public GatewayPropertiesEnvironmentVariables withSecrets(Map secrets)

Set the secrets property: Sensitive properties.

Parameters:

secrets - the secrets value to set.

Returns:

the GatewayPropertiesEnvironmentVariables object itself.

Applies to