HeaderActionParameters Class
- java.
lang. Object - com.
microsoft. azure. management. cdn. HeaderActionParameters
- com.
public class HeaderActionParameters
Defines the parameters for the request header action.
Constructor Summary
Constructor | Description |
---|---|
HeaderActionParameters() |
Creates an instance of Header |
Method Summary
Modifier and Type | Method and Description |
---|---|
Header |
headerAction()
Get action to perform. |
java.lang.String |
headerName()
Get name of the header to modify. |
java.lang.String |
odatatype()
Get the odatatype value. |
java.lang.String |
value()
Get value for the specified action. |
Header |
withHeaderAction(HeaderAction headerAction)
Set action to perform. |
Header |
withHeaderName(String headerName)
Set name of the header to modify. |
Header |
withOdatatype(String odatatype)
Set the odatatype value. |
Header |
withValue(String value)
Set value for the specified action. |
Methods inherited from java.lang.Object
Constructor Details
HeaderActionParameters
public HeaderActionParameters()
Creates an instance of HeaderActionParameters class.
Method Details
headerAction
public HeaderAction headerAction()
Get action to perform. Possible values include: 'Append', 'Overwrite', 'Delete'.
Returns:
headerName
public String headerName()
Get name of the header to modify.
Returns:
odatatype
public String odatatype()
Get the odatatype value.
Returns:
value
public String value()
Get value for the specified action.
Returns:
withHeaderAction
public HeaderActionParameters withHeaderAction(HeaderAction headerAction)
Set action to perform. Possible values include: 'Append', 'Overwrite', 'Delete'.
Parameters:
Returns:
withHeaderName
public HeaderActionParameters withHeaderName(String headerName)
Set name of the header to modify.
Parameters:
Returns:
withOdatatype
public HeaderActionParameters withOdatatype(String odatatype)
Set the odatatype value.
Parameters:
Returns:
withValue
public HeaderActionParameters withValue(String value)
Set value for the specified action.
Parameters:
Returns:
Applies to
Azure SDK for Java