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.monitor;
import com.fasterxml.jackson.annotation.JsonProperty;
The Http request info.
/**
* The Http request info.
*/
public class HttpRequestInfo {
the client request id.
/**
* the client request id.
*/
@JsonProperty(value = "clientRequestId")
private String clientRequestId;
the client Ip Address.
/**
* the client Ip Address.
*/
@JsonProperty(value = "clientIpAddress")
private String clientIpAddress;
the Http request method.
/**
* the Http request method.
*/
@JsonProperty(value = "method")
private String method;
the Uri.
/**
* the Uri.
*/
@JsonProperty(value = "uri")
private String uri;
Get the client request id.
Returns: the clientRequestId value
/**
* Get the client request id.
*
* @return the clientRequestId value
*/
public String clientRequestId() {
return this.clientRequestId;
}
Set the client request id.
Params: - clientRequestId – the clientRequestId value to set
Returns: the HttpRequestInfo object itself.
/**
* Set the client request id.
*
* @param clientRequestId the clientRequestId value to set
* @return the HttpRequestInfo object itself.
*/
public HttpRequestInfo withClientRequestId(String clientRequestId) {
this.clientRequestId = clientRequestId;
return this;
}
Get the client Ip Address.
Returns: the clientIpAddress value
/**
* Get the client Ip Address.
*
* @return the clientIpAddress value
*/
public String clientIpAddress() {
return this.clientIpAddress;
}
Set the client Ip Address.
Params: - clientIpAddress – the clientIpAddress value to set
Returns: the HttpRequestInfo object itself.
/**
* Set the client Ip Address.
*
* @param clientIpAddress the clientIpAddress value to set
* @return the HttpRequestInfo object itself.
*/
public HttpRequestInfo withClientIpAddress(String clientIpAddress) {
this.clientIpAddress = clientIpAddress;
return this;
}
Get the Http request method.
Returns: the method value
/**
* Get the Http request method.
*
* @return the method value
*/
public String method() {
return this.method;
}
Set the Http request method.
Params: - method – the method value to set
Returns: the HttpRequestInfo object itself.
/**
* Set the Http request method.
*
* @param method the method value to set
* @return the HttpRequestInfo object itself.
*/
public HttpRequestInfo withMethod(String method) {
this.method = method;
return this;
}
Get the Uri.
Returns: the uri value
/**
* Get the Uri.
*
* @return the uri value
*/
public String uri() {
return this.uri;
}
Set the Uri.
Params: - uri – the uri value to set
Returns: the HttpRequestInfo object itself.
/**
* Set the Uri.
*
* @param uri the uri value to set
* @return the HttpRequestInfo object itself.
*/
public HttpRequestInfo withUri(String uri) {
this.uri = uri;
return this;
}
}