Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.cdn;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
Defines the response header action for the delivery rule.
/**
* Defines the response header action for the delivery rule.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "name", defaultImpl = DeliveryRuleResponseHeaderAction.class)
@JsonTypeName("ModifyResponseHeader")
public class DeliveryRuleResponseHeaderAction extends DeliveryRuleAction {
Defines the parameters for the action.
/**
* Defines the parameters for the action.
*/
@JsonProperty(value = "parameters", required = true)
private HeaderActionParameters parameters;
Get defines the parameters for the action.
Returns: the parameters value
/**
* Get defines the parameters for the action.
*
* @return the parameters value
*/
public HeaderActionParameters parameters() {
return this.parameters;
}
Set defines the parameters for the action.
Params: - parameters – the parameters value to set
Returns: the DeliveryRuleResponseHeaderAction object itself.
/**
* Set defines the parameters for the action.
*
* @param parameters the parameters value to set
* @return the DeliveryRuleResponseHeaderAction object itself.
*/
public DeliveryRuleResponseHeaderAction withParameters(HeaderActionParameters parameters) {
this.parameters = parameters;
return this;
}
}