HeaderActionParameters Class

  • java.lang.Object
    • com.microsoft.azure.management.cdn.HeaderActionParameters

public class HeaderActionParameters

Defines the parameters for the request header action.

Constructor Summary

Constructor Description
HeaderActionParameters()

Creates an instance of HeaderActionParameters class.

Method Summary

Modifier and Type Method and Description
HeaderAction 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.

HeaderActionParameters withHeaderAction(HeaderAction headerAction)

Set action to perform.

HeaderActionParameters withHeaderName(String headerName)

Set name of the header to modify.

HeaderActionParameters withOdatatype(String odatatype)

Set the odatatype value.

HeaderActionParameters withValue(String value)

Set value for the specified action.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

the headerAction value

headerName

public String headerName()

Get name of the header to modify.

Returns:

the headerName value

odatatype

public String odatatype()

Get the odatatype value.

Returns:

the odatatype value

value

public String value()

Get value for the specified action.

Returns:

the value value

withHeaderAction

public HeaderActionParameters withHeaderAction(HeaderAction headerAction)

Set action to perform. Possible values include: 'Append', 'Overwrite', 'Delete'.

Parameters:

headerAction - the headerAction value to set

Returns:

the HeaderActionParameters object itself.

withHeaderName

public HeaderActionParameters withHeaderName(String headerName)

Set name of the header to modify.

Parameters:

headerName - the headerName value to set

Returns:

the HeaderActionParameters object itself.

withOdatatype

public HeaderActionParameters withOdatatype(String odatatype)

Set the odatatype value.

Parameters:

odatatype - the odatatype value to set

Returns:

the HeaderActionParameters object itself.

withValue

public HeaderActionParameters withValue(String value)

Set value for the specified action.

Parameters:

value - the value value to set

Returns:

the HeaderActionParameters object itself.

Applies to