HeaderField Class
- java.
lang. Object - com.
azure. resourcemanager. applicationinsights. models. HeaderField
- com.
public final class HeaderField
A header to add to the WebTest.
Constructor Summary
Constructor | Description |
---|---|
HeaderField() |
Creates an instance of Header |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
headerFieldName()
Get the header |
String |
headerFieldValue()
Get the header |
void |
validate()
Validates the instance. |
Header |
withHeaderFieldName(String headerFieldName)
Set the header |
Header |
withHeaderFieldValue(String headerFieldValue)
Set the header |
Methods inherited from java.lang.Object
Constructor Details
HeaderField
public HeaderField()
Creates an instance of HeaderField class.
Method Details
headerFieldName
public String headerFieldName()
Get the headerFieldName property: The name of the header.
Returns:
headerFieldValue
public String headerFieldValue()
Get the headerFieldValue property: The value of the header.
Returns:
validate
public void validate()
Validates the instance.
withHeaderFieldName
public HeaderField withHeaderFieldName(String headerFieldName)
Set the headerFieldName property: The name of the header.
Parameters:
Returns:
withHeaderFieldValue
public HeaderField withHeaderFieldValue(String headerFieldValue)
Set the headerFieldValue property: The value of the header.
Parameters:
Returns:
Applies to
Azure SDK for Java