com.azure.ai.metricsadvisor.implementation.models.CreateCredentialHeaders Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-ai-metricsadvisor Show documentation
Show all versions of azure-ai-metricsadvisor Show documentation
This package contains the Microsoft Azure Cognitive Services Metrics Advisor SDK.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.ai.metricsadvisor.implementation.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.http.HttpHeaderName;
import com.azure.core.http.HttpHeaders;
/**
* The CreateCredentialHeaders model.
*/
@Fluent
public final class CreateCredentialHeaders {
/*
* The Location property.
*/
private String location;
// HttpHeaders containing the raw property values.
/**
* Creates an instance of CreateCredentialHeaders class.
*
* @param rawHeaders The raw HttpHeaders that will be used to create the property values.
*/
public CreateCredentialHeaders(HttpHeaders rawHeaders) {
this.location = rawHeaders.getValue(HttpHeaderName.LOCATION);
}
/**
* Get the location property: The Location property.
*
* @return the location value.
*/
public String getLocation() {
return this.location;
}
/**
* Set the location property: The Location property.
*
* @param location the location value to set.
* @return the CreateCredentialHeaders object itself.
*/
public CreateCredentialHeaders setLocation(String location) {
this.location = location;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy