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.
/**
* 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.network;
import com.fasterxml.jackson.annotation.JsonProperty;
Header configuration of the Actions set in Application Gateway.
/**
* Header configuration of the Actions set in Application Gateway.
*/
public class ApplicationGatewayHeaderConfiguration {
Header name of the header configuration.
/**
* Header name of the header configuration.
*/
@JsonProperty(value = "headerName")
private String headerName;
Header value of the header configuration.
/**
* Header value of the header configuration.
*/
@JsonProperty(value = "headerValue")
private String headerValue;
Get header name of the header configuration.
Returns: the headerName value
/**
* Get header name of the header configuration.
*
* @return the headerName value
*/
public String headerName() {
return this.headerName;
}
Set header name of the header configuration.
Params: - headerName – the headerName value to set
Returns: the ApplicationGatewayHeaderConfiguration object itself.
/**
* Set header name of the header configuration.
*
* @param headerName the headerName value to set
* @return the ApplicationGatewayHeaderConfiguration object itself.
*/
public ApplicationGatewayHeaderConfiguration withHeaderName(String headerName) {
this.headerName = headerName;
return this;
}
Get header value of the header configuration.
Returns: the headerValue value
/**
* Get header value of the header configuration.
*
* @return the headerValue value
*/
public String headerValue() {
return this.headerValue;
}
Set header value of the header configuration.
Params: - headerValue – the headerValue value to set
Returns: the ApplicationGatewayHeaderConfiguration object itself.
/**
* Set header value of the header configuration.
*
* @param headerValue the headerValue value to set
* @return the ApplicationGatewayHeaderConfiguration object itself.
*/
public ApplicationGatewayHeaderConfiguration withHeaderValue(String headerValue) {
this.headerValue = headerValue;
return this;
}
}