Class HeaderActionParameters
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.HeaderActionParameters
-
public final class HeaderActionParameters extends Object
Defines the parameters for the request header action.
-
-
Constructor Summary
Constructors Constructor Description HeaderActionParameters()Creates an instance of HeaderActionParameters class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HeaderActionheaderAction()Get the headerAction property: Action to perform.StringheaderName()Get the headerName property: Name of the header to modify.StringodataType()Get the odataType property: The @odata.type property.voidvalidate()Validates the instance.Stringvalue()Get the value property: Value for the specified action.HeaderActionParameterswithHeaderAction(HeaderAction headerAction)Set the headerAction property: Action to perform.HeaderActionParameterswithHeaderName(String headerName)Set the headerName property: Name of the header to modify.HeaderActionParameterswithOdataType(String odataType)Set the odataType property: The @odata.type property.HeaderActionParameterswithValue(String value)Set the value property: Value for the specified action.
-
-
-
Method Detail
-
odataType
public String odataType()
Get the odataType property: The @odata.type property.- Returns:
- the odataType value.
-
withOdataType
public HeaderActionParameters withOdataType(String odataType)
Set the odataType property: The @odata.type property.- Parameters:
odataType- the odataType value to set.- Returns:
- the HeaderActionParameters object itself.
-
headerAction
public HeaderAction headerAction()
Get the headerAction property: Action to perform.- Returns:
- the headerAction value.
-
withHeaderAction
public HeaderActionParameters withHeaderAction(HeaderAction headerAction)
Set the headerAction property: Action to perform.- Parameters:
headerAction- the headerAction value to set.- Returns:
- the HeaderActionParameters object itself.
-
headerName
public String headerName()
Get the headerName property: Name of the header to modify.- Returns:
- the headerName value.
-
withHeaderName
public HeaderActionParameters withHeaderName(String headerName)
Set the headerName property: Name of the header to modify.- Parameters:
headerName- the headerName value to set.- Returns:
- the HeaderActionParameters object itself.
-
value
public String value()
Get the value property: Value for the specified action.- Returns:
- the value value.
-
withValue
public HeaderActionParameters withValue(String value)
Set the value property: Value for the specified action.- Parameters:
value- the value value to set.- Returns:
- the HeaderActionParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-