public final class HeaderActionParameters extends Object
| Constructor and Description |
|---|
HeaderActionParameters()
Creates an instance of HeaderActionParameters class.
|
| Modifier and Type | Method and Description |
|---|---|
HeaderAction |
headerAction()
Get the headerAction property: Action to perform.
|
String |
headerName()
Get the headerName property: Name of the header to modify.
|
String |
odataType()
Get the odataType property: The @odata.type property.
|
void |
validate()
Validates the instance.
|
String |
value()
Get the value property: Value for the specified action.
|
HeaderActionParameters |
withHeaderAction(HeaderAction headerAction)
Set the headerAction property: Action to perform.
|
HeaderActionParameters |
withHeaderName(String headerName)
Set the headerName property: Name of the header to modify.
|
HeaderActionParameters |
withOdataType(String odataType)
Set the odataType property: The @odata.type property.
|
HeaderActionParameters |
withValue(String value)
Set the value property: Value for the specified action.
|
public HeaderActionParameters()
public String odataType()
public HeaderActionParameters withOdataType(String odataType)
odataType - the odataType value to set.public HeaderAction headerAction()
public HeaderActionParameters withHeaderAction(HeaderAction headerAction)
headerAction - the headerAction value to set.public String headerName()
public HeaderActionParameters withHeaderName(String headerName)
headerName - the headerName value to set.public String value()
public HeaderActionParameters withValue(String value)
value - the value value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.