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.containerinstance; import com.fasterxml.jackson.annotation.JsonProperty;
The HTTP headers.
/** * The HTTP headers. */
public class HttpHeaders {
The header name.
/** * The header name. */
@JsonProperty(value = "name") private String name;
The header value.
/** * The header value. */
@JsonProperty(value = "value") private String value;
Get the header name.
Returns:the name value
/** * Get the header name. * * @return the name value */
public String name() { return this.name; }
Set the header name.
Params:
  • name – the name value to set
Returns:the HttpHeaders object itself.
/** * Set the header name. * * @param name the name value to set * @return the HttpHeaders object itself. */
public HttpHeaders withName(String name) { this.name = name; return this; }
Get the header value.
Returns:the value value
/** * Get the header value. * * @return the value value */
public String value() { return this.value; }
Set the header value.
Params:
  • value – the value value to set
Returns:the HttpHeaders object itself.
/** * Set the header value. * * @param value the value value to set * @return the HttpHeaders object itself. */
public HttpHeaders withValue(String value) { this.value = value; return this; } }