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

com.microsoft.azure.management.trafficmanager.MonitorConfigCustomHeadersItem Maven / Gradle / Ivy

/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.trafficmanager;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Custom header name and value.
 */
public class MonitorConfigCustomHeadersItem {
    /**
     * Header name.
     */
    @JsonProperty(value = "name")
    private String name;

    /**
     * Header value.
     */
    @JsonProperty(value = "value")
    private String value;

    /**
     * Get header name.
     *
     * @return the name value
     */
    public String name() {
        return this.name;
    }

    /**
     * Set header name.
     *
     * @param name the name value to set
     * @return the MonitorConfigCustomHeadersItem object itself.
     */
    public MonitorConfigCustomHeadersItem withName(String name) {
        this.name = name;
        return this;
    }

    /**
     * Get header value.
     *
     * @return the value value
     */
    public String value() {
        return this.value;
    }

    /**
     * Set header value.
     *
     * @param value the value value to set
     * @return the MonitorConfigCustomHeadersItem object itself.
     */
    public MonitorConfigCustomHeadersItem withValue(String value) {
        this.value = value;
        return this;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy