HeaderAction Class
- java.
lang. Object - com.
azure. resourcemanager. frontdoor. models. HeaderAction
- com.
public final class HeaderAction
An action that can manipulate an http header.
Constructor Summary
Constructor | Description |
---|---|
HeaderAction() |
Creates an instance of Header |
Method Summary
Modifier and Type | Method and Description |
---|---|
Header |
headerActionType()
Get the header |
String |
headerName()
Get the header |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: The value to update the given header name with. |
Header |
withHeaderActionType(HeaderActionType headerActionType)
Set the header |
Header |
withHeaderName(String headerName)
Set the header |
Header |
withValue(String value)
Set the value property: The value to update the given header name with. |
Methods inherited from java.lang.Object
Constructor Details
HeaderAction
public HeaderAction()
Creates an instance of HeaderAction class.
Method Details
headerActionType
public HeaderActionType headerActionType()
Get the headerActionType property: Which type of manipulation to apply to the header.
Returns:
headerName
public String headerName()
Get the headerName property: The name of the header this action will apply to.
Returns:
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: The value to update the given header name with. This value is not used if the actionType is Delete.
Returns:
withHeaderActionType
public HeaderAction withHeaderActionType(HeaderActionType headerActionType)
Set the headerActionType property: Which type of manipulation to apply to the header.
Parameters:
Returns:
withHeaderName
public HeaderAction withHeaderName(String headerName)
Set the headerName property: The name of the header this action will apply to.
Parameters:
Returns:
withValue
public HeaderAction withValue(String value)
Set the value property: The value to update the given header name with. This value is not used if the actionType is Delete.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for