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

com.microsoft.azure.management.monitor.HttpRequestInfo Maven / Gradle / Ivy

There is a newer version: 1.41.4
Show newest version
/**
 * 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.
 */
public class HttpRequestInfo {
    /**
     * the client request id.
     */
    @JsonProperty(value = "clientRequestId")
    private String clientRequestId;

    /**
     * the client Ip Address.
     */
    @JsonProperty(value = "clientIpAddress")
    private String clientIpAddress;

    /**
     * the Http request method.
     */
    @JsonProperty(value = "method")
    private String method;

    /**
     * the Uri.
     */
    @JsonProperty(value = "uri")
    private String uri;

    /**
     * Get the client request id.
     *
     * @return the clientRequestId value
     */
    public String clientRequestId() {
        return this.clientRequestId;
    }

    /**
     * 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.
     *
     * @return the clientIpAddress value
     */
    public String clientIpAddress() {
        return this.clientIpAddress;
    }

    /**
     * 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.
     *
     * @return the method value
     */
    public String method() {
        return this.method;
    }

    /**
     * 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.
     *
     * @return the uri value
     */
    public String uri() {
        return this.uri;
    }

    /**
     * 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;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy