Aracılığıyla paylaş


EndpointPropertiesUpdateParametersDeliveryPolicy Class

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

public class EndpointPropertiesUpdateParametersDeliveryPolicy

A policy that specifies the delivery rules to be used for an endpoint.

Constructor Summary

Constructor Description
EndpointPropertiesUpdateParametersDeliveryPolicy()

Method Summary

Modifier and Type Method and Description
java.lang.String description()

Get user-friendly description of the policy.

java.util.List<DeliveryRule> rules()

Get a list of the delivery rules.

EndpointPropertiesUpdateParametersDeliveryPolicy withDescription(String description)

Set user-friendly description of the policy.

EndpointPropertiesUpdateParametersDeliveryPolicy withRules(List<DeliveryRule> rules)

Set a list of the delivery rules.

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

EndpointPropertiesUpdateParametersDeliveryPolicy

public EndpointPropertiesUpdateParametersDeliveryPolicy()

Method Details

description

public String description()

Get user-friendly description of the policy.

Returns:

the description value

rules

public List rules()

Get a list of the delivery rules.

Returns:

the rules value

withDescription

public EndpointPropertiesUpdateParametersDeliveryPolicy withDescription(String description)

Set user-friendly description of the policy.

Parameters:

description - the description value to set

Returns:

the EndpointPropertiesUpdateParametersDeliveryPolicy object itself.

withRules

public EndpointPropertiesUpdateParametersDeliveryPolicy withRules(List rules)

Set a list of the delivery rules.

Parameters:

rules - the rules value to set

Returns:

the EndpointPropertiesUpdateParametersDeliveryPolicy object itself.

Applies to