EndpointPropertiesUpdateParametersDeliveryPolicy Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. EndpointPropertiesUpdateParametersDeliveryPolicy
- com.
Implements
public final class EndpointPropertiesUpdateParametersDeliveryPolicy
implements JsonSerializable<EndpointPropertiesUpdateParametersDeliveryPolicy>
A policy that specifies the delivery rules to be used for an endpoint.
Constructor Summary
Constructor | Description |
---|---|
EndpointPropertiesUpdateParametersDeliveryPolicy() |
Creates an instance of Endpoint |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: User-friendly description of the policy. |
static
Endpoint |
fromJson(JsonReader jsonReader)
Reads an instance of Endpoint |
List<Delivery |
rules()
Get the rules property: A list of the delivery rules. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Endpoint |
withDescription(String description)
Set the description property: User-friendly description of the policy. |
Endpoint |
withRules(List<DeliveryRule> rules)
Set the rules property: A list of the delivery rules. |
Methods inherited from java.lang.Object
Constructor Details
EndpointPropertiesUpdateParametersDeliveryPolicy
public EndpointPropertiesUpdateParametersDeliveryPolicy()
Creates an instance of EndpointPropertiesUpdateParametersDeliveryPolicy class.
Method Details
description
public String description()
Get the description property: User-friendly description of the policy.
Returns:
fromJson
public static EndpointPropertiesUpdateParametersDeliveryPolicy fromJson(JsonReader jsonReader)
Reads an instance of EndpointPropertiesUpdateParametersDeliveryPolicy from the JsonReader.
Parameters:
Returns:
Throws:
rules
public List
Get the rules property: A list of the delivery rules.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public EndpointPropertiesUpdateParametersDeliveryPolicy withDescription(String description)
Set the description property: User-friendly description of the policy.
Parameters:
Returns:
withRules
public EndpointPropertiesUpdateParametersDeliveryPolicy withRules(List
Set the rules property: A list of the delivery rules.
Parameters:
Returns:
Applies to
Azure SDK for Java