public final class EndpointPropertiesUpdateParametersDeliveryPolicy extends Object
| Constructor and Description |
|---|
EndpointPropertiesUpdateParametersDeliveryPolicy() |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Get the description property: User-friendly description of the policy.
|
List<DeliveryRule> |
rules()
Get the rules property: A list of the delivery rules.
|
void |
validate()
Validates the instance.
|
EndpointPropertiesUpdateParametersDeliveryPolicy |
withDescription(String description)
Set the description property: User-friendly description of the policy.
|
EndpointPropertiesUpdateParametersDeliveryPolicy |
withRules(List<DeliveryRule> rules)
Set the rules property: A list of the delivery rules.
|
public EndpointPropertiesUpdateParametersDeliveryPolicy()
public String description()
public EndpointPropertiesUpdateParametersDeliveryPolicy withDescription(String description)
description - the description value to set.public List<DeliveryRule> rules()
public EndpointPropertiesUpdateParametersDeliveryPolicy withRules(List<DeliveryRule> rules)
rules - the rules value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.