com.microsoft.azure.management.trafficmanager.EndpointPropertiesCustomHeadersItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-trafficmanager Show documentation
Show all versions of azure-mgmt-trafficmanager Show documentation
This package contains Microsoft Azure Traffic Manager Management SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt
/**
* 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 EndpointPropertiesCustomHeadersItem {
/**
* 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 EndpointPropertiesCustomHeadersItem object itself.
*/
public EndpointPropertiesCustomHeadersItem 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 EndpointPropertiesCustomHeadersItem object itself.
*/
public EndpointPropertiesCustomHeadersItem withValue(String value) {
this.value = value;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy