All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.appplatform.models.GatewayPropertiesEnvironmentVariables Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure App Platform Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.42.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.appplatform.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;

/**
 * Environment variables of Spring Cloud Gateway.
 */
@Fluent
public final class GatewayPropertiesEnvironmentVariables {
    /*
     * Non-sensitive properties
     */
    @JsonProperty(value = "properties")
    @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
    private Map properties;

    /*
     * Sensitive properties
     */
    @JsonProperty(value = "secrets")
    @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
    private Map secrets;

    /**
     * Creates an instance of GatewayPropertiesEnvironmentVariables class.
     */
    public GatewayPropertiesEnvironmentVariables() {
    }

    /**
     * Get the properties property: Non-sensitive properties.
     * 
     * @return the properties value.
     */
    public Map properties() {
        return this.properties;
    }

    /**
     * Set the properties property: Non-sensitive properties.
     * 
     * @param properties the properties value to set.
     * @return the GatewayPropertiesEnvironmentVariables object itself.
     */
    public GatewayPropertiesEnvironmentVariables withProperties(Map properties) {
        this.properties = properties;
        return this;
    }

    /**
     * Get the secrets property: Sensitive properties.
     * 
     * @return the secrets value.
     */
    public Map secrets() {
        return this.secrets;
    }

    /**
     * Set the secrets property: Sensitive properties.
     * 
     * @param secrets the secrets value to set.
     * @return the GatewayPropertiesEnvironmentVariables object itself.
     */
    public GatewayPropertiesEnvironmentVariables withSecrets(Map secrets) {
        this.secrets = secrets;
        return this;
    }

    /**
     * Validates the instance.
     * 
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy